[med-svn] [SCM] bowtie2 branch, master, updated. upstream/2.0.0-beta6-30-gde0c32f

Alexandre Mestiashvili alex at biotec.tu-dresden.de
Tue Jul 3 09:02:57 UTC 2012


The following commit has been merged in the master branch:
commit fb08d9d238035e71725939b8a3e36d9b41aa5e53
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Mon Jul 2 16:28:05 2012 +0200

    debian/rules added hardening flags

diff --git a/debian/changelog b/debian/changelog
index 6307548..f53825c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ bowtie2 (2.0.0-beta6-4) UNRELEASED; urgency=low
 
   * debian/control force architcures to i386/amd64 kfreebsd-i386/amd64 and hurd-i386
     SSE is not availbale on others. Closes: #668123 
+  * debhelper version 9
+  * debian/rules forced hardening flags
 
- -- Alexandre Mestiashvili <alex at biotec.tu-dresden.de>  Mon, 25 Jun 2012 15:33:18 +0200
+ -- Alexandre Mestiashvili <alex at biotec.tu-dresden.de>  Mon, 02 Jul 2012 16:27:10 +0200
 
 bowtie2 (2.0.0-beta6-3) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index 1a54834..8cb722c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,11 @@
 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 arch := $(shell dpkg-architecture -qDEB_HOST_ARCH 2>/dev/null | awk -F- '{print $$NF}')
 
+CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
+LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+EXTRA_FLAGS := $(LDFLAGS)
+
+
 # ENABLE_SSE=0
 ifeq ($(arch),i386)
     ENABLE_SSE=1
@@ -15,7 +20,7 @@ endif
 	dh $@
 
 override_dh_auto_build:
-	dh_auto_build -- ENABLE_SSE=$(ENABLE_SSE)
+	dh_auto_build -- ENABLE_SSE=$(ENABLE_SSE) EXTRA_FLAGS=$(EXTRA_FLAGS) GCC_SUFFIX=$(CPPFLAGS)
 
 override_dh_auto_install:
 	mkdir -p $(CURDIR)/debian/$(pkg)/usr/share/man/man1/

-- 
ultrafast memory-efficient short read aligner



More information about the debian-med-commit mailing list