remove debug info from binaries

This commit is contained in:
Dennis Luxen 2015-01-20 17:57:47 +01:00
parent db2ba22bd6
commit ec9b2dbe42

View File

@ -131,7 +131,7 @@ if(CMAKE_BUILD_TYPE MATCHES Release)
message(STATUS "Using gcc specific binutils for LTO.") message(STATUS "Using gcc specific binutils for LTO.")
set(CMAKE_AR "/usr/bin/gcc-ar") set(CMAKE_AR "/usr/bin/gcc-ar")
set(CMAKE_RANLIB "/usr/bin/gcc-ranlib") set(CMAKE_RANLIB "/usr/bin/gcc-ranlib")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3") # set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g3")
endif() endif()
endif (HAS_LTO_FLAG) endif (HAS_LTO_FLAG)
endif() endif()