]> git.proxmox.com Git - mirror_spl-debian.git/commitdiff
Fix debian-rules-sets-dpkg-architecture-variable.
authorMo Zhou <cdluminate@gmail.com>
Tue, 18 Sep 2018 09:42:39 +0000 (09:42 +0000)
committerMo Zhou <cdluminate@gmail.com>
Tue, 18 Sep 2018 09:42:39 +0000 (09:42 +0000)
debian/rules

index 7118a4daac365d190809101e27ab85b07b8da1d3..72ded49319f2682c6128b2744f987e552259f73e 100755 (executable)
@@ -8,10 +8,7 @@ REVISION := $(shell echo $(DEB_VERSION) | cut -d- -f2)
 LINUX_NEXT := $(shell awk -F. '{print $$1 "." $$2+1}' debian/linux_compat)
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-
-ifndef DEB_HOST_ARCH
-DEB_HOST_ARCH = $(shell dpkg-architecture -qDEB_HOST_ARCH)
-endif
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 
 ifndef KVERS
 KVERS=$(shell uname -r)