From 6962146b747e449e7281b6c6acda0a32fb1ff453 Mon Sep 17 00:00:00 2001 From: Abhinav Prasai Date: Wed, 27 Aug 2025 19:52:58 +0100 Subject: update Makefile + fix warnings --- compile_flags.txt | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) (limited to 'compile_flags.txt') 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 -- cgit v1.2.3