diff options
author | 2023-05-31 05:12:14 -0300 | |
---|---|---|
committer | 2023-05-31 05:38:02 -0300 | |
commit | 94090654695bce5d00ef5a833fbd21f0d3ef195b (patch) | |
tree | b36bc36d641e5b3d6b945219ceac0d7dc0d43cd9 /src/so.mk | |
parent | build: organize warning flags in CFLAGS (diff) | |
download | firejail-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/so.mk')
-rw-r--r-- | src/so.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -11,7 +11,7 @@ OBJS := $(SRCS:.c=.o) $(MOD_OBJS) | |||
11 | 11 | ||
12 | SO_CFLAGS = \ | 12 | SO_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 | -fPIC | 17 | -fPIC |