diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-05-31 05:09:04 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2023-05-31 05:24:35 -0300 |
commit | a37daf15bb02ee02e60a953e6807a59f03a896d3 (patch) | |
tree | 25b68508c87976a47068b8ea60862e04e222e484 /src/prog.mk | |
parent | build(deps): bump github/codeql-action from 2.3.3 to 2.3.5 (diff) | |
download | firejail-a37daf15bb02ee02e60a953e6807a59f03a896d3.tar.gz firejail-a37daf15bb02ee02e60a953e6807a59f03a896d3.tar.zst firejail-a37daf15bb02ee02e60a953e6807a59f03a896d3.zip |
build: organize warning flags in CFLAGS
Diffstat (limited to 'src/prog.mk')
-rw-r--r-- | src/prog.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/prog.mk b/src/prog.mk index b2ccf6147..537244656 100644 --- a/src/prog.mk +++ b/src/prog.mk | |||
@@ -10,8 +10,10 @@ SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) | |||
10 | OBJS := $(SRCS:.c=.o) $(MOD_OBJS) | 10 | OBJS := $(SRCS:.c=.o) $(MOD_OBJS) |
11 | 11 | ||
12 | PROG_CFLAGS = \ | 12 | PROG_CFLAGS = \ |
13 | -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' \ | 13 | -ggdb -O2 -DVERSION='"$(VERSION)"' \ |
14 | -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security \ | 14 | $(HAVE_FATAL_WARNINGS) \ |
15 | -Wformat -Wformat-security \ | ||
16 | -fstack-protector-all -D_FORTIFY_SOURCE=2 \ | ||
15 | -fPIE \ | 17 | -fPIE \ |
16 | -DPREFIX='"$(prefix)"' -DSYSCONFDIR='"$(sysconfdir)/firejail"' \ | 18 | -DPREFIX='"$(prefix)"' -DSYSCONFDIR='"$(sysconfdir)/firejail"' \ |
17 | -DLIBDIR='"$(libdir)"' -DBINDIR='"$(bindir)"' \ | 19 | -DLIBDIR='"$(libdir)"' -DBINDIR='"$(bindir)"' \ |