aboutsummaryrefslogtreecommitdiff
path: root/depends/hosts
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2024-05-30 13:24:30 +0100
committerfanquake <fanquake@gmail.com>2024-06-10 13:15:23 +0100
commit9043f12425d869d8bf7f2be1bb12368e41d09c5d (patch)
tree7b9fa4ca945ba9b1e9e90354867d89272a96bff0 /depends/hosts
parentf9994b025e1d72b4c0f5267de54caa2bfae136a3 (diff)
depends: no-longer pass -B to clang in macOS cross-compile
Diffstat (limited to 'depends/hosts')
-rw-r--r--depends/hosts/darwin.mk7
1 files changed, 0 insertions, 7 deletions
diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk
index 2ca1c2bae9..3b780fb62a 100644
--- a/depends/hosts/darwin.mk
+++ b/depends/hosts/darwin.mk
@@ -33,11 +33,6 @@ darwin_STRIP=$(shell $(SHELL) $(.SHELLFLAGS) "command -v llvm-strip")
# Ensures that modern linker features are enabled. See here for more
# details: https://github.com/bitcoin/bitcoin/pull/19407.
#
-# -B$(build_prefix)/bin
-#
-# Explicitly point to our binaries so that they are
-# ensured to be found and preferred over other possibilities.
-#
# -isysroot$(OSX_SDK) -nostdlibinc
#
# Disable default include paths built into the compiler as well as
@@ -62,7 +57,6 @@ darwin_CC=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
-u LIBRARY_PATH \
$(clang_prog) --target=$(host) \
- -B$(build_prefix)/bin \
-isysroot$(OSX_SDK) -nostdlibinc \
-iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks
@@ -70,7 +64,6 @@ darwin_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
-u LIBRARY_PATH \
$(clangxx_prog) --target=$(host) \
- -B$(build_prefix)/bin \
-isysroot$(OSX_SDK) -nostdlibinc \
-iwithsysroot/usr/include/c++/v1 \
-iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks