summaryrefslogtreecommitdiff
path: root/debian/patches/remove-cflags
diff options
context:
space:
mode:
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