Merge "Disable LLD for Darwin host executables." am: 29adef4ec2

am: 2371c3f08a

Change-Id: I46d5ae860d7bbcce736b2f8f25498b774a6790ef
This commit is contained in:
Chih-hung Hsieh
2018-04-24 23:41:58 -07:00
committed by android-build-merger

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