[libimager-perl] 03/04: rules: set DEB_HOST_ARCH only if not already set

Damyan Ivanov dmn at moszumanska.debian.org
Fri Dec 15 20:31:04 UTC 2017


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

dmn pushed a commit to branch master
in repository libimager-perl.

commit bb12aa130a9ade6cd4f6e26facc336ea5e565322
Author: Damyan Ivanov <dmn at debian.org>
Date:   Fri Dec 15 20:29:11 2017 +0000

    rules: set DEB_HOST_ARCH only if not already set
    
    thanks, lintian
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 36ec263..4bf8a0d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,7 +10,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 # #847397
 # TL;dr: this is https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78176
 # can be dropped once the gcc bug is fixed
-DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 NOOPT = mips mipsel
 ifneq (,$(filter $(DEB_HOST_ARCH), $(NOOPT)))
 export DEB_CFLAGS_MAINT_STRIP:=-O2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libimager-perl.git



More information about the Pkg-perl-cvs-commits mailing list