[med-svn] [subread] 07/10: Use conditional variable assignment operator for DEB_HOST_ARCH

Alex Mestiashvili malex-guest at moszumanska.debian.org
Fri Nov 17 16:05:04 UTC 2017


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

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

commit e8f51b346d19ca0c5452cd82117db8fe22282e68
Author: Alexandre Mestiashvili <alex at biotec.tu-dresden.de>
Date:   Fri Nov 17 16:09:11 2017 +0100

    Use conditional variable assignment operator for DEB_HOST_ARCH
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index b8846e0..a683b10 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ ifeq ($(origin CC),default)
     CC = $(DEB_HOST_GNU_TYPE)-gcc
 endif
 
-DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),amd64 i386))
         CFLAGS += -mtune=generic -msse3
 endif

-- 
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