[adios] 45/207: Add hardening flags

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jun 12 06:04:32 UTC 2015


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

mckinstry pushed a commit to branch master
in repository adios.

commit dd27d1842c9437a0815929580e67477de3d05f97
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Mar 21 10:22:22 2012 +0000

    Add hardening flags
---
 debian/changelog | 6 ++++++
 debian/rules     | 4 +++-
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 0b9332b..cac806a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+adios (1.3-10) unstable; urgency=low
+
+  * Patch from Simon Ruderich for hardening flags. Closes: #663925, #663978. 
+
+ -- Alastair McKinstry <mckinstry at debian.org>  Wed, 21 Mar 2012 10:20:55 +0000
+
 adios (1.3-9) unstable; urgency=low
 
   * Move to Standards-Version: 3.9.3. No changes required.
diff --git a/debian/rules b/debian/rules
index 969e77c..54981dc 100755
--- a/debian/rules
+++ b/debian/rules
@@ -27,6 +27,8 @@ ifeq ($(ARCH), ia64)
 endif
 
 BINDIR=debian/libadios-dev/usr/bin
+DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 # magic debhelper rule
 %:
 	dh $@ --with python2
@@ -36,7 +38,7 @@ override_dh_auto_clean:
 	find . -name '*.pyc' -delete
 
 override_dh_auto_configure:
-	LDFLAGS=" -Wl,--as-needed" dh_auto_configure --  $(WITH_LUSTRE) --enable-shared --prefix=`pwd`/debian/tmp  MPIFC=mpif77 CC=$(CC)
+	dh_auto_configure --  $(WITH_LUSTRE) --enable-shared --prefix=`pwd`/debian/tmp  MPIFC=mpif77 CC=$(CC)
 
 override_dh_auto_install:
 	$(MAKE) install prefix=$(shell pwd)/debian/libadios-dev/usr 

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



More information about the debian-science-commits mailing list