summaryrefslogtreecommitdiff
path: root/debian/patches/remove-cflags
diff options
context:
space:
mode:
authorDave Hibberd <d@vehibberd.com>2015-09-07 21:15:26 +0100
committerDave Hibberd <d@vehibberd.com>2015-09-07 21:15:26 +0100
commitde9be78d2e3533c32f1797a487fef9a6f9e922a9 (patch)
tree1b3187e64d7acd38c351f57cde5cc6da34864dcf /debian/patches/remove-cflags
parent66e6edde31b4611fd88e49db065d1b4dee63211c (diff)
Remove autoreconf files, remove dh-autoreconf from control file, split makefile patch so functions become more clear:
Diffstat (limited to 'debian/patches/remove-cflags')
-rw-r--r--debian/patches/remove-cflags17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/remove-cflags b/debian/patches/remove-cflags
new file mode 100644
index 0000000..2ffdb5d
--- /dev/null
+++ b/debian/patches/remove-cflags
@@ -0,0 +1,17 @@
+Description: Remove CFLAGS and LDFLAGS to fix Lintian hardening errors
+Author: Dave Hibberd <d@vehibberd.com>
+Last-Update: 2015-09-07
+
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -3,8 +3,8 @@
+ CC = gcc
+ LD = gcc
+ # CFLAGS = -O2 -g -s -Wstrict-prototypes
+-CFLAGS = -O2 -g -Wno-unused-result -Wstrict-prototypes
+-LDFLAGS =
++#CFLAGS = -O2 -g -Wno-unused-result -Wstrict-prototypes
++#LDFLAGS =
+ LIBS = -lax25 -lax25io
+
+ include Makefile.include