mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-05 21:27:33 +02:00
depends: Do not consider CC environment variable when detecting system
Otherwise, the build system fails to detect cross-compiling mode properly in some cases when `CC` is set.
This commit is contained in:
@@ -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 unset CC && ./config.guess)
|
||||
PATCHES_PATH = $(BASEDIR)/patches
|
||||
BASEDIR = $(CURDIR)
|
||||
HASH_LENGTH:=11
|
||||
|
||||
Reference in New Issue
Block a user