[med-svn] [subread] 01/01: Pass triplet-prefixed CC to make

Alex Mestiashvili malex-guest at moszumanska.debian.org
Mon Sep 5 13:12:20 UTC 2016


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

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

commit c158b0ff5340a83c916f30a67e5220527299a765
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Mon Sep 5 14:58:46 2016 +0200

    Pass triplet-prefixed CC to make
---
 debian/changelog | 6 ++++++
 debian/rules     | 9 +++++++--
 2 files changed, 13 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6b89018..e890505 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+subread (1.5.1+dfsg-3) unstable; urgency=medium
+
+  * Pass triplet-prefixed CC to make
+
+ -- Alexandre Mestiashvili <alex at biotec.tu-dresden.de>  Mon, 05 Sep 2016 14:59:37 +0200
+
 subread (1.5.1+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/rules b/debian/rules
index 0a0f72f..6b10b33 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,11 +1,16 @@
 #!/usr/bin/make -f
 
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 pkg := subread
 mandir := $(CURDIR)/debian/$(pkg)/usr/share/man/man1
 bindir := $(CURDIR)/bin
 utildir := $(CURDIR)/bin/utilities
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/architecture.mk
+ifeq ($(origin CC),default)
+    CC = $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
 ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),amd64 i386))
         CFLAGS += -mtune=generic -msse3
@@ -23,7 +28,7 @@ override_dh_clean:
 
 override_dh_auto_build:
 	cd src; make -f Makefile.Linux
-	dh_auto_build
+	dh_auto_build -- CC=$(CC)
 
 override_dh_auto_test:
 	debian/tests/subread-tests $(CURDIR)

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



More information about the debian-med-commit mailing list