Skip to content

Commit

Permalink
Fixed -gfull issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidRagazzi committed Mar 28, 2014
1 parent 425b1f8 commit 33df5c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -262,16 +262,17 @@ else()
set(NTA_PLATFORM_ARCH "32")
endif()
set(NTA_PLATFORM_CXXFLAGS "-fPIC -DPIC")
set(NTA_PLATFORM_DEBUGFLAGS "-gfull")
set(NTA_PLATFORM_LINKFLAGS "")
set(NTA_PLATFORM_LIBS "-stdlib=libstdc++ -std=c++98")
if(OSX)
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.7")
set(NTA_PLATFORM_OS "darwin64")
set(NTA_PLATFORM_CXXFLAGS "${NTA_PLATFORM_CXXFLAGS} -m64")
set(NTA_PLATFORM_DEBUGFLAGS "-gfull")
set(NTA_PLATFORM_LINKFLAGS "${NTA_PLATFORM_LINKFLAGS} -Wl,-u,_munmap")
set(NTA_PLATFORM_LIBS "${NTA_PLATFORM_LIBS} -lc++abi -liconv -lsqlite3 -framework CoreServices -framework Accelerate")
elseif(LINUX)
set(NTA_PLATFORM_DEBUGFLAGS "-g")
set(NTA_PLATFORM_LINKFLAGS "${NTA_PLATFORM_LINKFLAGS} -Wl,--no-as-needed -static-libgcc")
set(NTA_PLATFORM_LIBS "${NTA_PLATFORM_LIBS} -lm -lpthread -ldl -lutil")
if(${NTA_PLATFORM_ARCH} MATCHES "64")
Expand Down

0 comments on commit 33df5c1

Please sign in to comment.