summaryrefslogtreecommitdiff
path: root/configure.cmake
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@fe>2009-12-09 16:34:52 +0100
committerVladislav Vaintroub <vvaintroub@fe>2009-12-09 16:34:52 +0100
commit82b07c4d8a3d91b48f1407f566e3e534344e8db0 (patch)
tree94f05d45535d188be0130ce5ed7d0b659ec95ddd /configure.cmake
parent0e28e588b9cbb5ed81ca163f1a5c3c225d992265 (diff)
downloadmariadb-git-82b07c4d8a3d91b48f1407f566e3e534344e8db0.tar.gz
Remove -Wl,--as-needed option, broken on Fedora
Diffstat (limited to 'configure.cmake')
-rw-r--r--configure.cmake2
1 files changed, 0 insertions, 2 deletions
diff --git a/configure.cmake b/configure.cmake
index 305f4dde454..d1fc590a0cb 100644
--- a/configure.cmake
+++ b/configure.cmake
@@ -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()