diff options
| author | Abhinav Prasai <abhinav.prsai@gmail.com> | 2025-08-27 19:52:58 +0100 |
|---|---|---|
| committer | Abhinav Prasai <abhinav.prsai@gmail.com> | 2025-08-28 09:54:09 +0100 |
| commit | 6962146b747e449e7281b6c6acda0a32fb1ff453 (patch) | |
| tree | 3875d5852852015aa3e8d3360358c17bff8e1413 /compile_flags.txt | |
| parent | ce3f2d4fa36c0c4e13a30e958ec8aa5f5e84b883 (diff) | |
update Makefile + fix warnings
Diffstat (limited to 'compile_flags.txt')
| -rw-r--r-- | compile_flags.txt | 24 |
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 |
