summaryrefslogtreecommitdiffstats
path: root/utils/gammu/patches/002-no-fstack-protector.patch
blob: ec0badf2a79eac3733b66c84b14bfcd2fc98ec70 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -537,8 +537,6 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMP
         #    MACRO_TUNE_LINKER("-pie")
         # These do not work on Windows right now
         if (NOT WIN32)
-            # Stack protector
-            MACRO_TUNE_COMPILER("-fstack-protector")
             # Mark code read only
             MACRO_TUNE_LINKER("-Wl,-zrelro")
         endif (NOT WIN32)