From: Andreas Tille Date: Wed, 14 Feb 2024 20:11:33 +0000 (+0100) Subject: Rely on pre-initialized dpkg-architecture variables. X-Git-Tag: archive/raspbian/8.0.3-2+rpi1^2^2^2~12^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=eea3ac2810e7161624ed78b21758c9ac04589d87;p=mathgl.git Rely on pre-initialized dpkg-architecture variables. Changes-By: lintian-brush --- diff --git a/debian/rules b/debian/rules index 790061c..2e09442 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ export DH_OPTIONS=-v CXXFLAGS:= $(filter-out -Werror=format-security, $(shell dpkg-buildflags --get CXXFLAGS)) -DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) +include /usr/share/dpkg/architecture.mk ifneq (,$(filter $(DEB_BUILD_ARCH),mips mipsel)) export DEB_CXXFLAGS_MAINT_APPEND = -g0