mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-04-21 12:18:13 +02:00
When building depends on FreeBSD/OpenBSD `aarch64`, the host compilers
default to `default_host_{CC,CXX}`, which resolves to `gcc`/`g++`. This
is incorrect on these systems, where Clang is the default system
compiler.
Github-Pull: #32716
Rebased-From: 4f10a57671
14 lines
438 B
Makefile
14 lines
438 B
Makefile
build_openbsd_CC = clang
|
|
build_openbsd_CXX = clang++
|
|
|
|
build_openbsd_SHA256SUM = sha256 -r
|
|
build_openbsd_DOWNLOAD = curl --location --fail --connect-timeout $(DOWNLOAD_CONNECT_TIMEOUT) --retry $(DOWNLOAD_RETRIES) -o
|
|
|
|
build_openbsd_TAR = gtar
|
|
# openBSD touch doesn't understand -h
|
|
build_openbsd_TOUCH = touch -m -t 200001011200
|
|
|
|
# openbsd host on openbsd builder: override openbsd host preferences.
|
|
openbsd_CC = clang
|
|
openbsd_CXX = clang++
|