bind new system information functions

This commit is contained in:
Eduardo Bart
2012-06-06 22:01:49 -03:00
parent 321c09e471
commit a8b9dcbf17
5 changed files with 13 additions and 5 deletions

View File

@@ -21,10 +21,6 @@ SET(CXX_WARNS "-Wall -Wextra -Werror -Wno-unused-parameter -Wno-unused-but-set-v
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_WARNS} -std=gnu++0x -pipe")
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -ggdb")
SET(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O1 -ggdb")
# -ffast-math => has historical behaviour that may cause the app to work incorrectly or crash
# -msse -msse2 -mfpmath=sse => I have experienced crashs with these optimizations on some windows machines
#SET(CMAKE_CXX_FLAGS_RELEASE "-O3 -ffast-math -msse -msse2 -mfpmath=sse")
SET(CMAKE_CXX_FLAGS_RELEASE "-O3")
SET(CMAKE_CXX_LINK_FLAGS "${CMAKE_CXX_LINK_FLAGS} -static-libgcc -static-libstdc++ -Wl,--as-needed")