Use ?= for assignments to architecture variables.
Changes-By: lintian-brush
Fixes: lintian: debian-rules-sets-dpkg-architecture-variable
See-also: https://lintian.debian.org/tags/debian-rules-sets-dpkg-architecture-variable.html
Debian Janitor
1 year, 3 months ago
2 | 2 |
* Trim trailing whitespace.
|
3 | 3 |
* Bump debhelper from old 11 to 13.
|
4 | 4 |
* Set debhelper-compat version in Build-Depends.
|
|
5 |
* Use ?= for assignments to architecture variables.
|
5 | 6 |
|
6 | 7 |
-- Debian Janitor <janitor@jelmer.uk> Fri, 13 Jan 2023 06:36:53 -0000
|
7 | 8 |
|
209 | 209 |
REQV_12 := (>= 12.2.0-1~)
|
210 | 210 |
|
211 | 211 |
# architecture dependent variables
|
212 | |
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
213 | |
DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
|
212 |
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
|
|
213 |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
|
214 | 214 |
ifneq (,$(filter $(DEB_HOST_ARCH), i386 kfreebsd-i386 hurd-i386))
|
215 | 215 |
DEB_HOST_GNU_TYPE := $(subst i586,i686,$(DEB_HOST_GNU_TYPE))
|
216 | 216 |
i586_symlinks = yes
|
217 | 217 |
endif
|
218 | |
DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
|
218 |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
219 | 219 |
|
220 | 220 |
all_archs_mips = mips mipsel mipsn32 mipsn32el mips64 mips64el mipsr6 mipsr6el mipsn32r6 mipsn32r6el mips64r6 mips64r6el
|
221 | 221 |
all_archs = alpha arc amd64 armel armhf arm64 hppa i386 ia64 m68k or1k powerpc ppc64 ppc64el riscv64 s390 s390x sh4 sparc sparc64 x32 hurd-i386 kfreebsd-amd64 kfreebsd-i386 \
|