From 93eaa6a8fbd3fc6cf168c6695dd988c7cda48509 Mon Sep 17 00:00:00 2001 From: Dave Hibberd Date: Mon, 20 Apr 2020 16:09:28 +0100 Subject: Tidied up hardening options and stopped them being removed, made lintian more quiet --- debian/patches/hardening | 7 +++++-- debian/patches/install-dir-creation | 16 +--------------- 2 files changed, 6 insertions(+), 17 deletions(-) (limited to 'debian/patches') 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 -- cgit v1.2.3