aboutsummaryrefslogtreecommitdiffstats
path: root/src/prog.mk
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-31 05:12:14 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-05-31 05:38:02 -0300
commit94090654695bce5d00ef5a833fbd21f0d3ef195b (patch)
treeb36bc36d641e5b3d6b945219ceac0d7dc0d43cd9 /src/prog.mk
parentbuild: organize warning flags in CFLAGS (diff)
downloadfirejail-94090654695bce5d00ef5a833fbd21f0d3ef195b.tar.gz
firejail-94090654695bce5d00ef5a833fbd21f0d3ef195b.tar.zst
firejail-94090654695bce5d00ef5a833fbd21f0d3ef195b.zip
build: enable compiler warnings by default
Enable -Wall by default and add -Wextra.
Diffstat (limited to 'src/prog.mk')
-rw-r--r--src/prog.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prog.mk b/src/prog.mk
index 537244656..e4473184f 100644
--- a/src/prog.mk
+++ b/src/prog.mk
@@ -11,7 +11,7 @@ OBJS := $(SRCS:.c=.o) $(MOD_OBJS)
11 11
12PROG_CFLAGS = \ 12PROG_CFLAGS = \
13 -ggdb -O2 -DVERSION='"$(VERSION)"' \ 13 -ggdb -O2 -DVERSION='"$(VERSION)"' \
14 $(HAVE_FATAL_WARNINGS) \ 14 -Wall -Wextra $(HAVE_FATAL_WARNINGS) \
15 -Wformat -Wformat-security \ 15 -Wformat -Wformat-security \
16 -fstack-protector-all -D_FORTIFY_SOURCE=2 \ 16 -fstack-protector-all -D_FORTIFY_SOURCE=2 \
17 -fPIE \ 17 -fPIE \