1
0
mirror of https://github.com/clementine-player/Clementine synced 2025-02-01 20:06:53 +01:00

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

View File

@ -102,9 +102,6 @@ macro(UPDATE_COMPILER_FLAGS target)
elseif(${target}_TYPE STREQUAL "SHARED_LIBRARY") elseif(${target}_TYPE STREQUAL "SHARED_LIBRARY")
update_cxx_compiler_flag(${target} "-fvisibility=hidden" HIDDEN_VISIBILITY) update_cxx_compiler_flag(${target} "-fvisibility=hidden" HIDDEN_VISIBILITY)
endif() 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}") set_target_properties(${target} PROPERTIES COMPILE_FLAGS "${COMPILER_FLAGS}")
endmacro() endmacro()