[cdftools] 223/228: Try --as-needed

Alastair McKinstry mckinstry at moszumanska.debian.org
Fri Jun 12 08:21:52 UTC 2015


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

mckinstry pushed a commit to branch master
in repository cdftools.

commit a8a50527bf2181ebf4417c19f60e68b3be0a1c05
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Fri Jun 21 20:16:48 2013 +0100

    Try --as-needed
---
 debian/patches/harden.patch | 2 +-
 debian/rules                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/harden.patch b/debian/patches/harden.patch
index 9bbb946..e576656 100644
--- a/debian/patches/harden.patch
+++ b/debian/patches/harden.patch
@@ -14,6 +14,6 @@ Index: cdftools-3.0/Macrolib/macro.gfortran
 -MPF90=
 -FFLAGS= -O  $(NCDF)  -fno-second-underscore -ffree-line-length-256
 -LMPI=-lmpich
-+FFLAGS= -O3 -Wl,-z,now $(LDFLAGS)  $(NCDF)  -fno-second-underscore -ffree-line-length-256 -D_FORTIFY_SOURCE=2  -fstack-protector --param=ssp-buffer-size=4 
++FFLAGS= -O3 -Wl,-z,now $(LDFLAGS)  $(NCDF)  -fno-second-underscore -ffree-line-length-256 -D_FORTIFY_SOURCE=2  -fstack-protector --param=ssp-buffer-size=4 -Wl,--as-needed
  
  INSTALL=$(HOME)/bin
diff --git a/debian/rules b/debian/rules
index f1b0b44..2f84fbe 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 
 # The magic debhelper  rule
 %:
-	dh $@ 
+	dh $@  
 
 DESTDIR:=debian/cdftools
 

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



More information about the debian-science-commits mailing list