aboutsummaryrefslogtreecommitdiffstats
path: root/debian/patches/01-Allow-buildflags-to-be-overridden.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/01-Allow-buildflags-to-be-overridden.patch')
-rw-r--r--debian/patches/01-Allow-buildflags-to-be-overridden.patch47
1 files changed, 0 insertions, 47 deletions
diff --git a/debian/patches/01-Allow-buildflags-to-be-overridden.patch b/debian/patches/01-Allow-buildflags-to-be-overridden.patch
deleted file mode 100644
index 03414ae..0000000
--- a/debian/patches/01-Allow-buildflags-to-be-overridden.patch
+++ /dev/null
@@ -1,47 +0,0 @@
-From eeaf8047c61fd8dc2eb12240100a8e18f72a9ace Mon Sep 17 00:00:00 2001
-From: Jonathan McCrohan <jmccrohan@gmail.com>
-Date: Sun, 10 Jun 2012 23:12:44 +0100
-Subject: [PATCH] Allow buildflags to be overridden
-
-Required by Debian debhelper to enable build hardening:
-http://wiki.debian.org/Hardening
-
-Signed-off-by: Jonathan McCrohan <jmccrohan@gmail.com>
-Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
----
- Makefile.in | 12 +++++++-----
- 1 file changed, 7 insertions(+), 5 deletions(-)
-
-diff --git a/Makefile.in b/Makefile.in
-index b7d8ece..0b27ad7 100644
---- a/Makefile.in
-+++ b/Makefile.in
-@@ -8,10 +8,12 @@ datadir = $(datarootdir)/@PACKAGE_NAME@
- exec_perms = 0755
- install-suid-root: exec_perms = 4755
-
--CC = @CC@
--CFLAGS = @CFLAGS@
--DEFS = @DEFS@
--LDLIBS = @LIBS@
-+CC ?= @CC@
-+CFLAGS ?= @CFLAGS@
-+CPPFLAGS ?= @CPPFLAGS@
-+LDFLAGS ?= @LDFLAGS@
-+DEFS ?= @DEFS@
-+LDLIBS ?= @LIBS@
-
- INSTALL = @INSTALL@
- RM = rm -vf
-@@ -23,7 +25,7 @@ OBJS = $(PURESRC:.c=.o)
- DOCS = README NEWS THANKS AUTHORS COPYING ChangeLog
-
- %.o: %.c $(HEADERS)
-- $(CC) $(CFLAGS) $(DEFS) -c -o $@ $<
-+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $(DEFS) -c -o $@ $<
-
- all: @PACKAGE_NAME@
- @PACKAGE_NAME@: $(MAIN) $(OBJS)
---
-1.7.10
-