depends: Use CC_FOR_BUILD for config.guess

Co-authored-by: Michael Ford <fanquake@gmail.com>
This commit is contained in:
Hennadii Stepanov 2025-02-12 12:30:38 +00:00
parent 42251e00e8
commit 38d13e68e2
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -49,7 +49,7 @@ FALLBACK_DOWNLOAD_PATH ?= https://bitcoincore.org/depends-sources
C_STANDARD ?= c11
CXX_STANDARD ?= c++20
BUILD = $(shell ./config.guess)
BUILD = $(shell CC_FOR_BUILD=$CC ./config.guess)
PATCHES_PATH = $(BASEDIR)/patches
BASEDIR = $(CURDIR)
HASH_LENGTH:=11