Author: osallou Date: 2013-02-09 11:10:48 +0000 (Sat, 09 Feb 2013) New Revision: 12966
Modified: trunk/packages/soap/soapdenovo2/trunk/debian/control trunk/packages/soap/soapdenovo2/trunk/debian/rules Log: add hardening Modified: trunk/packages/soap/soapdenovo2/trunk/debian/control =================================================================== --- trunk/packages/soap/soapdenovo2/trunk/debian/control 2013-02-09 11:05:22 UTC (rev 12965) +++ trunk/packages/soap/soapdenovo2/trunk/debian/control 2013-02-09 11:10:48 UTC (rev 12966) @@ -1,7 +1,7 @@ Source: soapdenovo2 Section: science Priority: optional -Build-Depends: debhelper (>= 8),g++ +Build-Depends: debhelper (>= 8),g++, hardening-includes Maintainer: Debian Med Packaging Team <[email protected]> Uploaders: Olivier Sallou <[email protected]> DM-Upload-Allowed: yes Modified: trunk/packages/soap/soapdenovo2/trunk/debian/rules =================================================================== --- trunk/packages/soap/soapdenovo2/trunk/debian/rules 2013-02-09 11:05:22 UTC (rev 12965) +++ trunk/packages/soap/soapdenovo2/trunk/debian/rules 2013-02-09 11:10:48 UTC (rev 12966) @@ -1,6 +1,15 @@ #!/usr/bin/make -f # -*- makefile -*- +export DEB_BUILD_HARDENING=1 +include /usr/share/hardening-includes/hardening.make + +CFLAGS=$(shell dpkg-buildflags --get CFLAGS) +LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS) +CFLAGS+=$(HARDENING_CFLAGS) +LDFLAGS+=$(HARDENING_LDFLAGS) + + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -8,8 +17,8 @@ dh $@ override_dh_auto_build: - cd standardPregraph && DEB_BUILD_HARDENING=1 make 63mer=1 - cd standardPregraph && DEB_BUILD_HARDENING=1 make 127mer=1 + cd standardPregraph && make 63mer=1 + cd standardPregraph && make 127mer=1 # cd sparsePregraph && make dh_auto_build _______________________________________________ debian-med-commit mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit
