diff options
author | 2023-05-31 05:09:04 -0300 | |
---|---|---|
committer | 2023-05-31 05:24:35 -0300 | |
commit | a37daf15bb02ee02e60a953e6807a59f03a896d3 (patch) | |
tree | 25b68508c87976a47068b8ea60862e04e222e484 /src/so.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/so.mk')
-rw-r--r-- | src/so.mk | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 | SO_CFLAGS = \ | 12 | SO_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 | -fPIC | 17 | -fPIC |
16 | 18 | ||
17 | SO_LDFLAGS = -pie -fPIE -Wl,-z,relro -Wl,-z,now | 19 | SO_LDFLAGS = -pie -fPIE -Wl,-z,relro -Wl,-z,now |