Commit 82b07c4d authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Remove -Wl,--as-needed option, broken on Fedora

parent 0e28e588
......@@ -160,8 +160,6 @@ IF(CMAKE_SYSTEM_NAME STREQUAL "Linux")
${CMAKE_SHARED_LIBRARY_LINK_${LANG}_FLAGS}
)
ENDFOREACH()
SET(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--as-needed")
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed")
SET(LINK_FLAG_NO_UNDEFINED "--Wl,--no-undefined")
ENDIF()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment