summaryrefslogtreecommitdiff
path: root/debian/patches/harden.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/harden.diff')
-rw-r--r--debian/patches/harden.diff6
1 files changed, 3 insertions, 3 deletions
diff --git a/debian/patches/harden.diff b/debian/patches/harden.diff
index a66150b..bc43d9c 100644
--- a/debian/patches/harden.diff
+++ b/debian/patches/harden.diff
@@ -3,9 +3,9 @@ Subject: Harden build
Forwarded: not-needed
--- a/Makefile
+++ b/Makefile
-@@ -7,6 +7,9 @@
- UNAME:=$(shell uname)
- O=${CFILES:.c=.o}
+@@ -10,6 +10,9 @@
+ .PHONY: all clean distclean install
+ .SUFFIXES: .c .o
+CFLAGS += $(shell dpkg-buildflags --get CPPFLAGS) $(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)