[SCM] LHAPDF: Les Houches Accord PDF Interface branch, master, updated. upstream/5.8.7+repack-22-g1881c7b

Lifeng Sun lifongsun at gmail.com
Sat Jul 14 01:20:06 UTC 2012


The following commit has been merged in the master branch:
commit 1881c7bde83590f635fe62737c205da34c186bdc
Author: Lifeng Sun <lifongsun at gmail.com>
Date:   Sat Jul 14 08:22:03 2012 +0800

    Enable harden-flags for fortran source.

diff --git a/debian/rules b/debian/rules
index 16b9da8..7e42b51 100755
--- a/debian/rules
+++ b/debian/rules
@@ -14,11 +14,13 @@ CFLAGS   :=$(shell dpkg-buildflags --get CFLAGS)
 CXXFLAGS :=$(shell dpkg-buildflags --get CXXFLAGS)
 LDFLAGS  :=$(shell dpkg-buildflags --get LDFLAGS)
 
+FFLAGS := -D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
+
 ifneq (,$(findstring $(DEB_BUILD_ARCH), hurd-i386 mips mipsel s390))
 DEB_BUILD_OPTIONS += nocheck
 endif
 
-export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
+export CPPFLAGS CFLAGS CXXFLAGS LDFLAGS FFLAGS
 
 override_dh_auto_clean:
 	dh_auto_clean

-- 
LHAPDF: Les Houches Accord PDF Interface



More information about the debian-science-commits mailing list