summaryrefslogtreecommitdiffstats
path: root/scripts/mk/buildapi.mk
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:32:50 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-07 13:32:50 +0000
commit25f9982ce22e4d6d7dddf6fb8e1c7f9c43e3c699 (patch)
tree7565f09f5bdef1bc398c3caebde90bced9ea1c51 /scripts/mk/buildapi.mk
parentAdding debian version 1.22.9. (diff)
downloaddpkg-25f9982ce22e4d6d7dddf6fb8e1c7f9c43e3c699.tar.xz
dpkg-25f9982ce22e4d6d7dddf6fb8e1c7f9c43e3c699.zip
Merging upstream version 1.22.10.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'scripts/mk/buildapi.mk')
-rw-r--r--scripts/mk/buildapi.mk6
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/mk/buildapi.mk b/scripts/mk/buildapi.mk
index 6b665f3..3a1f164 100644
--- a/scripts/mk/buildapi.mk
+++ b/scripts/mk/buildapi.mk
@@ -4,11 +4,7 @@ ifndef dpkg_buildapi_mk_included
dpkg_buildapi_mk_included = yes
# Default API level when not set.
-ifndef DPKG_BUILD_API
- dpkg_lazy_eval ?= $(eval $(1) = $(2)$$($(1)))
- dpkg_lazy_set ?= $(call dpkg_lazy_eval,$(1),$$(eval $(1) := $(2)))
- $(call dpkg_lazy_set,DPKG_BUILD_API,$$(shell dpkg-buildapi))
-endif
+DPKG_BUILD_API ?= $(shell dpkg-buildapi)
# We could use only built-in GNU make functions, but that seems too much
# complexity given no integer operators, given that we currently have to