patch-cmake_os_Linux_cmake 586 B

1234567891011121314151617
  1. --- mysql-5.6.17.orig/cmake/os/Linux.cmake 2014-03-14 20:07:26.000000000 +0100
  2. +++ mysql-5.6.17/cmake/os/Linux.cmake 2014-04-04 10:11:45.000000000 +0200
  3. @@ -23,14 +23,6 @@ SET(TARGET_OS_LINUX 1)
  4. SET(HAVE_NPTL 1)
  5. SET(_GNU_SOURCE 1)
  6. -# Fix CMake (< 2.8) flags. -rdynamic exports too many symbols.
  7. -FOREACH(LANG C CXX)
  8. - STRING(REPLACE "-rdynamic" ""
  9. - CMAKE_SHARED_LIBRARY_LINK_${LANG}_FLAGS
  10. - ${CMAKE_SHARED_LIBRARY_LINK_${LANG}_FLAGS}
  11. - )
  12. -ENDFOREACH()
  13. -
  14. # Ensure we have clean build for shared libraries
  15. # without unresolved symbols
  16. # Not supported with AddressSanitizer