patch-cmake_os_Linux_cmake 596 B

1234567891011121314151617
  1. --- mysql-5.6.22.orig/cmake/os/Linux.cmake 2014-11-20 23:39:51.000000000 -0600
  2. +++ mysql-5.6.22/cmake/os/Linux.cmake 2014-12-26 10:30:24.216372609 -0600
  3. @@ -22,14 +22,6 @@ INCLUDE(CheckSymbolExists)
  4. SET(TARGET_OS_LINUX 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