[exodus] 45/48: Enable hardening

Alastair McKinstry mckinstry at moszumanska.debian.org
Wed Jul 15 11:36:11 UTC 2015


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

mckinstry pushed a commit to branch debian/master
in repository exodus.

commit 1a7982c02c8742842b46122d7d218314463555e7
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Mon Dec 16 12:06:33 2013 +0000

    Enable hardening
---
 debian/changelog | 3 ++-
 debian/rules     | 2 ++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index aff4724..c02f76d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,9 @@
-exodusii (6.02.dfsg.1-3) UNRELEASED; urgency=low
+exodusii (6.02.dfsg.1-1) unstable; urgency=low
 
   * New upstream release. Closes: #699919.
   * Standards-Version: 3.9.5
   * Move arch-dep files from M-A: same. Closes: #728781.
+  * Add CPPFLAGS to CFLAGS in rules to enable hardening.
 
  -- Alastair McKinstry <mckinstry at debian.org>  Sat, 14 Dec 2013 14:34:55 +0000
 
diff --git a/debian/rules b/debian/rules
index db5ac19..765005e 100644
--- a/debian/rules
+++ b/debian/rules
@@ -25,6 +25,8 @@ LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
 %:
 	dh $@ --buildsystem cmake --sourcedirectory=exodus
 
+# Workaround to cmake ignoring CPPFLAGS; needed for hardening
+CFLAGS:=$(CFLAGS) $(CPPFLAGS)
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/exodus.git



More information about the debian-science-commits mailing list