Merge "Disable LLD for Darwin host executables."

This commit is contained in:
Chih-hung Hsieh 2018-04-25 06:30:59 +00:00 committed by Gerrit Code Review
commit 29adef4ec2
1 changed files with 8 additions and 0 deletions

View File

@ -12,3 +12,11 @@ ifeq (,$(filter 0 false,$(LOCAL_USE_CLANG_LLD)))
my_use_clang_lld := true
endif
endif
# Do not use LLD for Darwin host executables or shared libraries.
# See https://lld.llvm.org/AtomLLD.html for status of lld for Mach-O.
ifeq ($(LOCAL_IS_HOST_MODULE),true)
ifeq ($(HOST_OS),darwin)
my_use_clang_lld := false
endif
endif