From 8d27ea62af8044e179d693dca14f70ca1aa07a83 Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Wed, 30 Sep 2020 19:20:41 -0400 Subject: [PATCH] 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. --- depends/hosts/darwin.mk | 2 -- 1 file changed, 2 deletions(-) diff --git a/depends/hosts/darwin.mk b/depends/hosts/darwin.mk index 83da049618..4a70d55405 100644 --- a/depends/hosts/darwin.mk +++ b/depends/hosts/darwin.mk @@ -64,7 +64,6 @@ darwin_CC=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \ -u LIBRARY_PATH \ clang --target=$(host) -mmacosx-version-min=$(OSX_MIN_VERSION) \ -B$(build_prefix)/bin -mlinker-version=$(LD64_VERSION) \ - -fuse-ld=$(build_prefix)/bin/x86_64-apple-darwin16-ld \ --sysroot=$(OSX_SDK) \ -Xclang -internal-externc-isystem$(clang_resource_dir)/include \ -Xclang -internal-externc-isystem$(OSX_SDK)/usr/include @@ -73,7 +72,6 @@ darwin_CXX=env -u C_INCLUDE_PATH -u CPLUS_INCLUDE_PATH \ -u LIBRARY_PATH \ clang++ --target=$(host) -mmacosx-version-min=$(OSX_MIN_VERSION) \ -B$(build_prefix)/bin -mlinker-version=$(LD64_VERSION) \ - -fuse-ld=$(build_prefix)/bin/x86_64-apple-darwin16-ld \ --sysroot=$(OSX_SDK) \ -stdlib=libc++ -nostdinc++ \ -Xclang -cxx-isystem$(OSX_SDK)/usr/include/c++/v1 \