Commit f429eca8 authored by Berk Onat's avatar Berk Onat

Dependencies are changed for stability

parent 18cf622f
......@@ -55,8 +55,8 @@ endif()
if(LINUX)
if(CMAKE_CXX_COMPILER_ID MATCHES "^.*GNU.*$")
if(ARCH64BIT)
set(TARGET_COPT -fPIC -m64 -o )
set(TARGET_LOPT -fPIC -m64 -lstdc++ -o )
set(TARGET_COPT -m64 -fPIC -m64 -o )
set(TARGET_LOPT -m64 -fPIC -m64 -lstdc++ -o )
set(TARGET_CFLAGS -m64 -O2 -fPIC -Wall )
set(TARGET_CXXFLG -m64 -O2 -fPIC -Wall )
#set(TARGET_COPT " -fPIC -m64 -o ")
......@@ -64,8 +64,8 @@ if(LINUX)
#set(TARGET_CFLAGS " -m64 -O2 -fPIC -Wall ${CMAKE_C_FLAGS}")
#set(TARGET_CXXFLG " -m64 -O2 -fPIC -Wall ${CMAKE_CXX_FLAGS}")
else()
set(TARGET_COPT " -fPIC -m32 -o ")
set(TARGET_LOPT " -fPIC -m32 -lstdc++ -o ")
set(TARGET_COPT " -m32 -fPIC -m32 -o ")
set(TARGET_LOPT " -m32 -fPIC -m32 -lstdc++ -o ")
set(TARGET_CFLAGS " -m32 -O2 -fPIC -Wall ${CMAKE_C_FLAGS}")
set(TARGET_CXXFLG " -m32 -O2 -fPIC -Wall ${CMAKE_CXX_FLAGS}")
endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment