aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authortobtoht <tob@featherwallet.org>2026-05-09 18:12:19 +0200
committertobtoht <tob@featherwallet.org>2026-05-25 10:52:34 +0200
commit0d49006c9d1740b2909d5173157e621e6a38ede1 (patch)
treef259b68931f60a8d3806e55a43fdb12acfdae3a4 /contrib
parent54f009ae9adf7e1f740e96673e39717813fae35f (diff)
downloadmonzero-core-0d49006c9d1740b2909d5173157e621e6a38ede1.tar.gz
monzero-core-0d49006c9d1740b2909d5173157e621e6a38ede1.tar.xz
monzero-core-0d49006c9d1740b2909d5173157e621e6a38ede1.zip
depends: explicitely enable cross-compile mode for autoconf
Diffstat (limited to 'contrib')
-rw-r--r--contrib/depends/funcs.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/depends/funcs.mk b/contrib/depends/funcs.mk
index e08669c98..adb9d2788 100644
--- a/contrib/depends/funcs.mk
+++ b/contrib/depends/funcs.mk
@@ -143,7 +143,7 @@ $(1)_config_env+=PKG_CONFIG_PATH=$($($(1)_type)_prefix)/share/pkgconfig
$(1)_config_env+=PATH="$(build_prefix)/bin:$(PATH)"
$(1)_build_env+=PATH="$(build_prefix)/bin:$(PATH)"
$(1)_stage_env+=PATH="$(build_prefix)/bin:$(PATH)"
-$(1)_autoconf=./configure --host=$($($(1)_type)_host) --prefix=$($($(1)_type)_prefix) $$($(1)_config_opts) CC="$$($(1)_cc)" CXX="$$($(1)_cxx)"
+$(1)_autoconf=./configure --build=$(BUILD) --host=$($($(1)_type)_host) --prefix=$($($(1)_type)_prefix) $$($(1)_config_opts) CC="$$($(1)_cc)" CXX="$$($(1)_cxx)"
ifeq ($(filter $(1),libusb unbound),)
$(1)_autoconf += --disable-dependency-tracking