Merge "Disable LLD for Darwin host executables."

am: 29adef4ec2

Change-Id: I9ecbd4b6a062f1a9d6cf5014ce1a65a51464d17c
This commit is contained in:
Chih-hung Hsieh 2018-04-24 23:38:00 -07:00 committed by android-build-merger
commit 2371c3f08a

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