diff options
| author | Hibby <d@vehibberd.com> | 2017-01-21 14:34:52 +0000 |
|---|---|---|
| committer | Hibby <d@vehibberd.com> | 2017-01-21 15:33:03 +0000 |
| commit | 5580c32dc073e958e5d7bf44f94ee178586f54a4 (patch) | |
| tree | d53a4075f848a9cea6cd516673891cdab5237356 /debian/patches/hardening | |
| parent | 374dc15bb0cd3ce686ace56248f2f6eb00c7dbf0 (diff) | |
New debian changelog, patches refreshed, hardening updates
Diffstat (limited to 'debian/patches/hardening')
| -rw-r--r-- | debian/patches/hardening | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/debian/patches/hardening b/debian/patches/hardening index a629022..7c8922d 100644 --- a/debian/patches/hardening +++ b/debian/patches/hardening @@ -1,27 +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 +Last-Update: 2017-01-21 --- a/Makefile.in +++ b/Makefile.in -@@ -3,8 +3,8 @@ +@@ -3,7 +3,9 @@ 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 = + # CFLAGS = -O2 -g -s -Wno-unused-result -Wstrict-prototypes +-CFLAGS = -DUNIX -g3 -DDEBUG ++# CFLAGS = -DUNIX -g3 -DDEBUG ++CXXFLAGS = ++CPPFLAGS = + LDFLAGS = LIBS = -lax25 -lax25io - include Makefile.include -@@ -24,7 +24,7 @@ +@@ -24,7 +26,7 @@ DIGI_OBJS = $(DIGI_SRC:.c=.o) CALIBRATE_OBJS = $(CALIBRATE_SRC:.c=.o) .c.o: - $(CC) $(CFLAGS) -c $< -+ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -c $< ++ $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) $(CXXFLAGS) -c $< install: installbin installman installhelp installconf install -b -m 755 -D -d $(VAR_DIR) |
