summaryrefslogtreecommitdiff
path: root/compile_flags.txt
diff options
context:
space:
mode:
Diffstat (limited to 'compile_flags.txt')
-rw-r--r--compile_flags.txt24
1 files changed, 19 insertions, 5 deletions
diff --git a/compile_flags.txt b/compile_flags.txt
index e568f62..fa0c2c1 100644
--- a/compile_flags.txt
+++ b/compile_flags.txt
@@ -1,8 +1,22 @@
+-Isrc
+-D_FORTIFY_SOURCE=2
-std=c99
+-Os
+-pipe
-Wall
-Wextra
--Os
--lX11
--lXinerama
--lXcursor
--Isrc
+-Wformat=2
+-Werror=format-security
+-Wshadow
+-Wpointer-arith
+-Wcast-qual
+-Wwrite-strings
+-Wmissing-prototypes
+-Wstrict-prototypes
+-Wswitch-enum
+-Wundef
+-Wvla
+-fno-common
+-fno-strict-aliasing
+-fstack-protector-strong
+-fPIE