Source: arm-trusted-firmware
Version: debian/2.4+dfsg-2
Severity: minor
Tags: patch

Requiring this variable prevents direct calls to debian/rules, see
dpkg-architecture(1).
>From fdb1ed526d23fbfc819398898ce1e8036f8fdc5b Mon Sep 17 00:00:00 2001
From: Nicolas Boulenguez <nico...@debian.org>
Date: Sun, 28 Mar 2021 09:47:35 +0200
Subject: [PATCH 1/7] Read DEB_HOST_ARCH from /usr/share/architecture.mk
 instead of environment

Requiring this variable prevents direct calls to debian/rules, see
dpkg-architecture(1).
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index a8e1f93af..b85f6e3fb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,4 +1,7 @@
 #!/usr/bin/make -f
+
+include /usr/share/dpkg/architecture.mk
+
 export DH_VERBOSE=1
 export TF_CFLAGS += -ffile-prefix-map=$(CURDIR)=.
 
-- 
2.30.2

Reply via email to