[exodus] 46/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 4bc7f96800fa8b9dc70219c8e5176b4644f9af46
Author: Alastair McKinstry <mckinstry at debian.org>
Date: Mon Dec 16 12:08:12 2013 +0000
Enable hardening
---
debian/rules | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index 765005e..99a7116 100644
--- a/debian/rules
+++ b/debian/rules
@@ -26,7 +26,8 @@ LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)
dh $@ --buildsystem cmake --sourcedirectory=exodus
# Workaround to cmake ignoring CPPFLAGS; needed for hardening
-CFLAGS:=$(CFLAGS) $(CPPFLAGS)
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS) $(shell dpkg-buildflags --get CPPFLAGS)
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
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