diff options
| author | Hibby <d@vehibberd.com> | 2017-08-22 14:03:55 +0100 |
|---|---|---|
| committer | Hibby <d@vehibberd.com> | 2017-10-09 22:48:18 +0100 |
| commit | 35edc9873077609ff13eff9862c19405fa6e500b (patch) | |
| tree | bf9713bac6278d9491f1704e0d6360b95bbe0911 /debian/patches/hardening | |
| parent | 770e9dd49689e4b4a9abb04e027f3703197811df (diff) | |
Supporting files for new release
Diffstat (limited to 'debian/patches/hardening')
| -rw-r--r-- | debian/patches/hardening | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/debian/patches/hardening b/debian/patches/hardening index 7c8922d..ea520d6 100644 --- a/debian/patches/hardening +++ b/debian/patches/hardening @@ -1,22 +1,25 @@ Description: Fix Lintian hardening errors caused by flags not being passed to compiler, use debhelper compiler flags Author: Dave Hibberd <d@vehibberd.com> -Last-Update: 2017-01-21 +Last-Update: 2017-08-22 --- a/Makefile.in +++ b/Makefile.in -@@ -3,7 +3,9 @@ +@@ -3,8 +3,11 @@ CC = gcc LD = gcc # CFLAGS = -O2 -g -s -Wno-unused-result -Wstrict-prototypes -CFLAGS = -DUNIX -g3 -DDEBUG +-LDFLAGS = +# CFLAGS = -DUNIX -g3 -DDEBUG -+CXXFLAGS = -+CPPFLAGS = - LDFLAGS = ++CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) ++CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) ++CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) ++LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) LIBS = -lax25 -lax25io -@@ -24,7 +26,7 @@ + include Makefile.include +@@ -24,7 +27,7 @@ DIGI_OBJS = $(DIGI_SRC:.c=.o) CALIBRATE_OBJS = $(CALIBRATE_SRC:.c=.o) .c.o: |
