mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-01 11:56:45 +01:00
Don't compile vreen with link-time optimizations - it makes all the symbols hidden on Arch Linux.
This commit is contained in:
parent
c217450d0c
commit
566ae6a6e4
3
3rdparty/vreen/vreen/cmake/CommonUtils.cmake
vendored
3
3rdparty/vreen/vreen/cmake/CommonUtils.cmake
vendored
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user