aboutsummaryrefslogtreecommitdiffstats
path: root/src/so.mk
diff options
context:
space:
mode:
authorLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-06-18 09:48:45 -0300
committerLibravatar Kelvin M. Klann <kmk3.code@protonmail.com>2023-06-25 10:04:47 -0300
commit07716128b12346e60146404cbd5d3ec799708d1d (patch)
tree2da6cc73ea50384accc331634b4a6313c2fc629b /src/so.mk
parentbuild: move common CFLAGS/LDFLAGS first (diff)
downloadfirejail-07716128b12346e60146404cbd5d3ec799708d1d.tar.gz
firejail-07716128b12346e60146404cbd5d3ec799708d1d.tar.zst
firejail-07716128b12346e60146404cbd5d3ec799708d1d.zip
build: move remaining build flags into config.mk.in
Put all definitions in the same file.
Diffstat (limited to 'src/so.mk')
-rw-r--r--src/so.mk9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/so.mk b/src/so.mk
index ec0947933..dadffc52f 100644
--- a/src/so.mk
+++ b/src/so.mk
@@ -9,15 +9,6 @@ HDRS := $(sort $(wildcard *.h)) $(EXTRA_HDRS)
9SRCS := $(sort $(wildcard *.c)) 9SRCS := $(sort $(wildcard *.c))
10OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS) 10OBJS := $(SRCS:.c=.o) $(EXTRA_OBJS)
11 11
12SO_CFLAGS = \
13 -ggdb -O2 -DVERSION='"$(VERSION)"' \
14 -Wall -Wextra $(HAVE_FATAL_WARNINGS) \
15 -Wformat -Wformat-security \
16 -fstack-protector-all -D_FORTIFY_SOURCE=2 \
17 -fPIC
18
19SO_LDFLAGS = -Wl,-z,relro -Wl,-z,now -fPIC
20
21.PHONY: all 12.PHONY: all
22all: $(TARGET) 13all: $(TARGET)
23 14