diff options
| author | Dave Hibberd <dave.hibberd@gmail.com> | 2016-04-05 00:38:50 +0100 |
|---|---|---|
| committer | Dave Hibberd <dave.hibberd@gmail.com> | 2016-04-05 01:17:49 +0100 |
| commit | 461bb6d23be87b4b79d978696e45b23f484682e1 (patch) | |
| tree | 792df72be95b1e9a53f10729845508254ceaa2ca /debian/patches/hardening | |
| parent | ed1ae8ef50b749bf62e5591b8dbcdcfe3dddd2a2 (diff) | |
Updated for hardening errors, fixed watch file, tidied up URLs in control,
renamed remove-cflags to hardening patch
Diffstat (limited to 'debian/patches/hardening')
| -rw-r--r-- | debian/patches/hardening | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/patches/hardening b/debian/patches/hardening new file mode 100644 index 0000000..a629022 --- /dev/null +++ b/debian/patches/hardening @@ -0,0 +1,27 @@ +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: 2016-04-05 + +--- 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 +@@ -24,7 +24,7 @@ + DIGI_OBJS = $(DIGI_SRC:.c=.o) + CALIBRATE_OBJS = $(CALIBRATE_SRC:.c=.o) + .c.o: +- $(CC) $(CFLAGS) -c $< ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $< + + install: installbin installman installhelp installconf + install -b -m 755 -D -d $(VAR_DIR) |
