Package: luksipc / 0.04-2

hardening.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: Use Debian-specific build flags
Forwarded-Upstream: no

diff --git a/Makefile b/Makefile
index 69493812dbfe..4c386feda38a 100644
--- a/Makefile
+++ b/Makefile
@@ -9,6 +9,10 @@ LDFLAGS :=
 
 OBJS := luksipc.o luks.o exec.o chunk.o parameters.o keyfile.o logging.o shutdown.o utils.o mount.o exit.o random.o
 
+# Debian specific flags
+CFLAGS += $(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
+LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
+
 all: $(EXECUTABLE)
 
 clean: