[hamradio-commits] [dump1090] 01/01: add CPPFLAGS back into the Makefile to ensure the Hardening flags get set.

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Thu Oct 23 21:51:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch master
in repository dump1090.

commit 61b73b5342df74f6250cac06e9b7a54ad8e344b1
Author: Matthew Ernisse <mernisse at ub3rgeek.net>
Date:   Thu Oct 23 17:51:39 2014 -0400

    add CPPFLAGS back into the Makefile to ensure the Hardening flags get set.
---
 debian/patches/00-makefile.patch | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/debian/patches/00-makefile.patch b/debian/patches/00-makefile.patch
index e8607a6..bcad703 100644
--- a/debian/patches/00-makefile.patch
+++ b/debian/patches/00-makefile.patch
@@ -4,7 +4,7 @@ Forwarded: https://github.com/MalcolmRobb/dump1090/pull/53
 
 --- a/Makefile
 +++ b/Makefile
-@@ -5,16 +5,21 @@
+@@ -5,20 +5,25 @@
  PROGNAME=dump1090
  
  ifdef PREFIX
@@ -31,6 +31,11 @@ Forwarded: https://github.com/MalcolmRobb/dump1090/pull/53
  all: dump1090 view1090
  
  %.o: %.c
+-	$(CC) $(CFLAGS) $(EXTRACFLAGS) -c $<
++	$(CC) $(CFLAGS) $(CPPFLAGS) $(EXTRACFLAGS) -c $<
+ 
+ dump1090: dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o
+ 	$(CC) -g -o dump1090 dump1090.o anet.o interactive.o mode_ac.o mode_s.o net_io.o $(LIBS) $(LDFLAGS)
 @@ -28,3 +33,4 @@
  
  clean:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list