aboutsummaryrefslogtreecommitdiff
path: root/depends/hosts
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-05-09 19:20:17 +0800
committerfanquake <fanquake@gmail.com>2024-05-22 08:51:33 +0100
commit4a0536c5d96688729f8c885060c83cb12d72a8c5 (patch)
tree5bae9a2d7dd2b805f466ccbaee4ed5211146f034 /depends/hosts
parentc6a6b2d6fd4e3a01b095dc98645f819ebabf1931 (diff)
downloadbitcoin-4a0536c5d96688729f8c885060c83cb12d72a8c5.tar.xz
build: switch to using lld for macOS builds
Adjust the security check for: ld64.lld: warning: Option `-allow_stack_execute' is not yet implemented. ld64.lld: error: -fixup_chains is incompatible with -no_pie and to account for the embedding of LLVMs version number.
Diffstat (limited to 'depends/hosts')
-rw-r--r--depends/hosts/darwin.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk
index a405824c26..a34f4b79c5 100644
--- a/depends/hosts/darwin.mk
+++ b/depends/hosts/darwin.mk
@@ -115,7 +115,7 @@ darwin_LDFLAGS=-Wl,-platform_version,macos,$(OSX_MIN_VERSION),$(OSX_SDK_VERSION)
ifneq ($(build_os),darwin)
darwin_CFLAGS += -mlinker-version=$(LD64_VERSION)
darwin_CXXFLAGS += -mlinker-version=$(LD64_VERSION)
-darwin_LDFLAGS += -Wl,-no_adhoc_codesign
+darwin_LDFLAGS += -Wl,-no_adhoc_codesign -fuse-ld=lld
endif
darwin_release_CFLAGS=-O2