[Pgp-tools-commit] r591 - in trunk: debian gpgwrap/src

Guilhem Moulin guilhem-guest at moszumanska.debian.org
Thu Apr 3 18:41:05 UTC 2014


Author: guilhem-guest
Date: 2014-04-03 18:41:05 +0000 (Thu, 03 Apr 2014)
New Revision: 591

Modified:
   trunk/debian/changelog
   trunk/gpgwrap/src/Makefile
Log:
Import the default Debian CPPFLAGS defined by dpkg-buildflags.

Fixes the following lintian informational tag:

    hardening-no-fortify-functions usr/bin/gpgwrap

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2014-04-03 09:41:59 UTC (rev 590)
+++ trunk/debian/changelog	2014-04-03 18:41:05 UTC (rev 591)
@@ -1,3 +1,11 @@
+signing-party (1.1.7-1) UNRELEASED; urgency=low
+
+  * gpgwrap:
+    + Import the default Debian CPPFLAGS defined by dpkg-buildflags, which
+      makes lintian stop emitting the 'hardening-no-fortify-functions' tag.
+
+ -- Guilhem Moulin <guilhem at guilhem.org>  Thu, 03 Apr 2014 11:50:02 +0200
+
 signing-party (1.1.6-1) unstable; urgency=low
 
   [ Guilhem Moulin ]

Modified: trunk/gpgwrap/src/Makefile
===================================================================
--- trunk/gpgwrap/src/Makefile	2014-04-03 09:41:59 UTC (rev 590)
+++ trunk/gpgwrap/src/Makefile	2014-04-03 18:41:05 UTC (rev 591)
@@ -1,5 +1,6 @@
 CC=${DIET} gcc -s
 CFLAGS:=-Wall -O2 -fomit-frame-pointer
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
 LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
 STRIP=strip -R .note -R .comment
 RM=rm -f
@@ -11,7 +12,7 @@
 
 ${TARGET}: gpgwrap.c
 	[ -d $(dir ${TARGET}) ] || mkdir $(dir ${TARGET})
-	${CC} ${CFLAGS} ${LDFLAGS} -o ${TARGET} gpgwrap.c
+	${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} -o ${TARGET} gpgwrap.c
 	${STRIP} ${TARGET} 2>/dev/null || true
 
 clean:




More information about the Pgp-tools-commit mailing list