002-no-fstack-protector.patch 410 B

1234567891011
  1. --- a/CMakeLists.txt
  2. +++ b/CMakeLists.txt
  3. @@ -537,8 +537,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMP
  4. # MACRO_TUNE_LINKER("-pie")
  5. # These do not work on Windows right now
  6. if (NOT WIN32)
  7. - # Stack protector
  8. - MACRO_TUNE_COMPILER("-fstack-protector")
  9. # Mark code read only
  10. MACRO_TUNE_LINKER("-Wl,-zrelro")
  11. endif (NOT WIN32)