commit | 29adef4ec2dac322ca609e743fddfbcca9b4dd10 | [log] [tgz] |
---|---|---|
author | Chih-hung Hsieh <chh@google.com> | Wed Apr 25 06:30:59 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Apr 25 06:30:59 2018 +0000 |
tree | 1d8004138d450941cd3989b370d4ba5a19e3b311 | |
parent | 50958e2cae2d8fd1373694cecf9381127bfac539 [diff] | |
parent | 3365ae7228a0f41e5e76845f93720b0a94b6af1b [diff] |
Merge "Disable LLD for Darwin host executables."
diff --git a/core/use_lld_setup.mk b/core/use_lld_setup.mk index 69ceddc..17a9e27 100644 --- a/core/use_lld_setup.mk +++ b/core/use_lld_setup.mk
@@ -12,3 +12,11 @@ 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