[Pkg-wmaker-commits] [wmfrog] 85/145: Enable CPPFLAGS hardened build flags (Closes: #668303)

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:29 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmfrog.

commit 8361ec7045b7addb331eb28c4416b662be88e4e5
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Tue Apr 10 23:25:41 2012 +0300

    Enable CPPFLAGS hardened build flags (Closes: #668303)
    
    Signed-off-by: Jari Aalto <jari.aalto at cante.net>
---
 debian/changelog | 8 ++++++++
 debian/rules     | 3 ++-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 81422ea..9fbfd66 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+wmfrog (0.2.0-4) unstable; urgency=low
+
+  * debian/rules
+    - Enable CPPFLAGS hardened build flags (Closes: #668303). Patch thanks
+      to Simon Ruderich <simon at ruderich.org>
+
+ -- Jari Aalto <jari.aalto at cante.net>  Tue, 10 Apr 2012 23:23:34 +0300
+
 wmfrog (0.2.0-3) unstable; urgency=low
 
   * debian/control
diff --git a/debian/rules b/debian/rules
index 0132381..74297ba 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,8 @@ man:
 	$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
 
 override_dh_auto_build: man
-	$(MAKE) $(MAKEOPT) CFLAGS="$(CFLAGS) $(LDFLAGS)"
+	# CFLAGS is the only variable that we can utilize to pass flags.
+	$(MAKE) $(MAKEOPT) CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
 
 override_dh_auto_clean:
 	[ ! Src/Makefile ] || $(MAKE) $(MAKEOPT) clean

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



More information about the Pkg-wmaker-commits mailing list