diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-10-31 20:57:52 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2022-11-21 17:37:17 -0300 |
commit | e425d841239d84e9b35ffe131bbe0255db20e874 (patch) | |
tree | cbcae4db1ac7d6be6123ecbca92da57321c46115 /src/so.mk | |
parent | makefiles: mention variables intended to be used by includers (diff) | |
download | firejail-e425d841239d84e9b35ffe131bbe0255db20e874.tar.gz firejail-e425d841239d84e9b35ffe131bbe0255db20e874.tar.zst firejail-e425d841239d84e9b35ffe131bbe0255db20e874.zip |
makefiles: organize CFLAGS
Line-wrap them and make the order of the flags more similar across
src/prog.mk and src/so.mk.
This should make it easier to see the differences in CFLAGS between both
files.
Diffstat (limited to 'src/so.mk')
-rw-r--r-- | src/so.mk | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -9,7 +9,11 @@ HDRS := $(sort $(wildcard *.h)) $(MOD_HDRS) | |||
9 | SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) | 9 | SRCS := $(sort $(wildcard *.c)) $(MOD_SRCS) |
10 | OBJS := $(SRCS:.c=.o) $(MOD_OBJS) | 10 | OBJS := $(SRCS:.c=.o) $(MOD_OBJS) |
11 | 11 | ||
12 | CFLAGS += -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' -fstack-protector-all -D_FORTIFY_SOURCE=2 -fPIC -Wformat -Wformat-security | 12 | CFLAGS += \ |
13 | -ggdb $(HAVE_FATAL_WARNINGS) -O2 -DVERSION='"$(VERSION)"' \ | ||
14 | -fstack-protector-all -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security \ | ||
15 | -fPIC | ||
16 | |||
13 | LDFLAGS += -pie -fPIE -Wl,-z,relro -Wl,-z,now | 17 | LDFLAGS += -pie -fPIE -Wl,-z,relro -Wl,-z,now |
14 | 18 | ||
15 | .PHONY: all | 19 | .PHONY: all |