aboutsummaryrefslogtreecommitdiffstats
path: root/options.mk
diff options
context:
space:
mode:
authorMarkus Uhlin <markus@nifty-networks.net>2024-05-09 13:11:07 +0200
committerMarkus Uhlin <markus@nifty-networks.net>2024-05-09 13:11:07 +0200
commit2ef4007974b9fa66244ee2ca8c58fb59026477d5 (patch)
tree74d2a59c16ae118d3d637b4de153f2d350298d1e /options.mk
parent51d70b2b892d99674f40611b5901c6f2a3f18551 (diff)
Added cflags
Diffstat (limited to 'options.mk')
-rw-r--r--options.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/options.mk b/options.mk
index 33b9250..ba4a636 100644
--- a/options.mk
+++ b/options.mk
@@ -6,7 +6,9 @@ FICS_HOME ?= /home/chess/config
PREFIX ?= /home/chess
CC ?= cc
-CFLAGS = -O2 -Wall -pipe -std=c11
+CFLAGS = -O2 -Wall -pipe -std=c11 \
+ -Wsign-compare \
+ -Wstrict-prototypes
CXX ?= c++
CXXFLAGS = -O2 -Wall -pipe -std=c++17