summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/hardening7
-rw-r--r--debian/patches/install-dir-creation16
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