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
|
@ -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…
Reference in New Issue