Merge "Disable LLD for Darwin host executables."
am: 29adef4ec2
Change-Id: I9ecbd4b6a062f1a9d6cf5014ce1a65a51464d17c
This commit is contained in:
commit
2371c3f08a
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue