summarylogtreecommitdiffstats
path: root/fortify.patch
blob: 279299cf33afe8dee5b2cb5e58ea2c04020276ce (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -42,7 +42,7 @@
 if (MSVC)
     target_compile_options(Databaseds PUBLIC /W3)
 else()
-    target_compile_options(Databaseds PUBLIC -Wall -Wextra -D_FORTIFY_SOURCE=2 -O1 -Wshadow)
+    target_compile_options(Databaseds PUBLIC -Wall -Wextra -O1 -Wshadow)
 endif()