Skip to content

Commit 77b1ef8

Browse files
committed
depends: Remove -fuse-ld line
clang warns when a command line option is unused, and some of our tests use Werror, so unfortunately we cannot use this flag to pin our linker for now. Leaving this commit in for future reference, as it would be great if there's more granularity to Werror and we can be explicit about what linker we want to use.
1 parent 3007339 commit 77b1ef8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

depends/hosts/darwin.mk

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,6 @@ darwin_CC=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
6464
-u LIBRARY_PATH \
6565
clang --target=$(host) -mmacosx-version-min=$(OSX_MIN_VERSION) \
6666
-B$(build_prefix)/bin -mlinker-version=$(LD64_VERSION) \
67-
-fuse-ld=$(build_prefix)/bin/x86_64-apple-darwin16-ld \
6867
--sysroot=$(OSX_SDK) \
6968
-Xclang -internal-externc-isystem$(clang_resource_dir)/include \
7069
-Xclang -internal-externc-isystem$(OSX_SDK)/usr/include
@@ -73,7 +72,6 @@ darwin_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \
7372
-u LIBRARY_PATH \
7473
clang++ --target=$(host) -mmacosx-version-min=$(OSX_MIN_VERSION) \
7574
-B$(build_prefix)/bin -mlinker-version=$(LD64_VERSION) \
76-
-fuse-ld=$(build_prefix)/bin/x86_64-apple-darwin16-ld \
7775
--sysroot=$(OSX_SDK) \
7876
-stdlib=libc++ -nostdinc++ \
7977
-Xclang -cxx-isystem$(OSX_SDK)/usr/include/c++/v1 \

0 commit comments

Comments
 (0)