diff options
| author | Dave Hibberd <d@vehibberd.com> | 2020-04-20 16:09:28 +0100 |
|---|---|---|
| committer | Dave Hibberd <d@vehibberd.com> | 2020-04-20 16:20:18 +0100 |
| commit | 93eaa6a8fbd3fc6cf168c6695dd988c7cda48509 (patch) | |
| tree | eaa67b3b0a817872ce292dda3a9222b64fad0e66 /debian/patches | |
| parent | 342e0f3fd993d73c659146e0d4db735433306bc0 (diff) | |
Tidied up hardening options and stopped them being removed, made lintian more quiet
Diffstat (limited to 'debian/patches')
| -rw-r--r-- | debian/patches/hardening | 7 | ||||
| -rw-r--r-- | debian/patches/install-dir-creation | 16 |
2 files changed, 6 insertions, 17 deletions
diff --git a/debian/patches/hardening b/debian/patches/hardening index 9530d65..f69f9bc 100644 --- a/debian/patches/hardening +++ b/debian/patches/hardening @@ -5,9 +5,12 @@ Last-Update: 2017-08-22 --- a/Makefile.in +++ b/Makefile.in -@@ -3,8 +3,11 @@ +@@ -1,10 +1,13 @@ + all: nodeusers uronode axdigi calibrate @FLEXNET@ + CC = gcc - LD = gcc +-LD = gcc ++LD = $(CC) # CFLAGS = -O2 -g -s -Wno-unused-result -Wstrict-prototypes -CFLAGS = -DUNIX -g3 -DDEBUG -LDFLAGS = diff --git a/debian/patches/install-dir-creation b/debian/patches/install-dir-creation index 7ddae71..a0adfb2 100644 --- a/debian/patches/install-dir-creation +++ b/debian/patches/install-dir-creation @@ -4,21 +4,7 @@ Last-Update: 2018-02-10 --- a/Makefile.in +++ b/Makefile.in -@@ -3,11 +3,8 @@ - CC = gcc - LD = gcc - # CFLAGS = -O2 -g -s -Wno-unused-result -Wstrict-prototypes --# CFLAGS = -DUNIX -g3 -DDEBUG --CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) --CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) --CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) --LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -+CFLAGS = -DUNIX -g3 -DDEBUG -+LDFLAGS = - LIBS = -lax25 -lax25io - - include Makefile.include -@@ -38,6 +35,7 @@ +@@ -38,6 +38,7 @@ install -b -m 644 -p etc/gateways $(VAR_DIR)/flex installbin: all |
