Skip to content

Commit 9043f12

Browse files
committed
depends: no-longer pass -B to clang in macOS cross-compile
1 parent f9994b0 commit 9043f12

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

depends/hosts/darwin.mk

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ darwin_STRIP=$(shell $(SHELL) $(.SHELLFLAGS) "command -v llvm-strip")
3333
# Ensures that modern linker features are enabled. See here for more
3434
# details: https://github.com/bitcoin/bitcoin/pull/19407.
3535
#
36-
# -B$(build_prefix)/bin
37-
#
38-
# Explicitly point to our binaries so that they are
39-
# ensured to be found and preferred over other possibilities.
40-
#
4136
# -isysroot$(OSX_SDK) -nostdlibinc
4237
#
4338
# Disable default include paths built into the compiler as well as
@@ -62,15 +57,13 @@ darwin_CC=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
6257
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
6358
-u LIBRARY_PATH \
6459
$(clang_prog) --target=$(host) \
65-
-B$(build_prefix)/bin \
6660
-isysroot$(OSX_SDK) -nostdlibinc \
6761
-iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks
6862

6963
darwin_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
7064
-u OBJC_INCLUDE_PATH -u OBJCPLUS_INCLUDE_PATH -u CPATH \
7165
-u LIBRARY_PATH \
7266
$(clangxx_prog) --target=$(host) \
73-
-B$(build_prefix)/bin \
7467
-isysroot$(OSX_SDK) -nostdlibinc \
7568
-iwithsysroot/usr/include/c++/v1 \
7669
-iwithsysroot/usr/include -iframeworkwithsysroot/System/Library/Frameworks

0 commit comments

Comments
 (0)