[med-svn] [bowtie2] 03/04: Cleanup d/rules, remove CPPFLAGS as they are imported anyway

Alex Mestiashvili malex-guest at moszumanska.debian.org
Thu Apr 28 08:49:05 UTC 2016


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

malex-guest pushed a commit to branch master
in repository bowtie2.

commit e6e051ec8a6109597d7d88de23d3a52a12b8e641
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Thu Apr 28 10:01:52 2016 +0200

    Cleanup d/rules, remove CPPFLAGS as they are imported anyway
---
 debian/rules | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/debian/rules b/debian/rules
index c4b4ccc..9925106 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,7 @@
 pkg := $(shell dpkg-parsechangelog | sed -n 's/^Source: //p')
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-CPPFLAGS := $(shell dpkg-buildflags --get CPPFLAGS)
 LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
-EXTRA_FLAGS := $(LDFLAGS)
 
 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 EXTRA_OPTIONS =
@@ -14,12 +12,11 @@ ifeq ($(DEB_HOST_ARCH),amd64)
 endif
 export EXTRA_OPTIONS
 
-
 %:
 	dh $@ --parallel
 
 override_dh_auto_build:
-	dh_auto_build -- EXTRA_FLAGS="$(EXTRA_FLAGS)" CPPFLAGS="$(CPPFLAGS)" $(EXTRA_OPTIONS)
+	dh_auto_build -- EXTRA_FLAGS="$(LDFLAGS)" $(EXTRA_OPTIONS)
 
 override_dh_installman:
 	mkdir -p $(CURDIR)/debian/$(pkg)/usr/share/man/man1/

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/bowtie2.git



More information about the debian-med-commit mailing list