Don't compile vreen with link-time optimizations - it makes all the symbols hidden on Arch Linux.

This commit is contained in:
David Sansome 2014-05-23 22:52:37 +10:00
parent c217450d0c
commit 566ae6a6e4
1 changed files with 0 additions and 3 deletions

View File

@ -102,9 +102,6 @@ macro(UPDATE_COMPILER_FLAGS target)
elseif(${target}_TYPE STREQUAL "SHARED_LIBRARY")
update_cxx_compiler_flag(${target} "-fvisibility=hidden" HIDDEN_VISIBILITY)
endif()
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
update_cxx_compiler_flag(${target} "-flto" LTO)
endif()
set_target_properties(${target} PROPERTIES COMPILE_FLAGS "${COMPILER_FLAGS}")
endmacro()