summaryrefslogtreecommitdiff
path: root/scripts/mk/architecture.mk
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/mk/architecture.mk')
-rw-r--r--scripts/mk/architecture.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/mk/architecture.mk b/scripts/mk/architecture.mk
index 8520c5b2a..0af96019d 100644
--- a/scripts/mk/architecture.mk
+++ b/scripts/mk/architecture.mk
@@ -4,7 +4,7 @@
dpkg_lazy_eval ?= $$(or $$(value DPKG_CACHE_$(1)),$$(eval DPKG_CACHE_$(1) := $$(shell $(2)))$$(value DPKG_CACHE_$(1)))
-dpkg_architecture_setvar = $(1) ?= $(call dpkg_lazy_eval,$(1),dpkg-architecture -q$(1))
+dpkg_architecture_setvar = export $(1) ?= $(call dpkg_lazy_eval,$(1),dpkg-architecture -q$(1))
$(foreach machine,BUILD HOST TARGET,\
$(foreach var,ARCH ARCH_ABI ARCH_LIBC ARCH_OS ARCH_CPU ARCH_BITS ARCH_ENDIAN GNU_CPU GNU_SYSTEM GNU_TYPE MULTIARCH,\