Merge "Disable lld for windows host modules"

am: 060c99c33e

Change-Id: I8f8ec58270d1f3e5eea596e379062c7fada802d7
This commit is contained in:
Pirama Arumuga Nainar
2018-06-26 12:53:41 -07:00
committed by android-build-merger

View File

@@ -18,10 +18,14 @@ else
endif endif
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 ($(LOCAL_IS_HOST_MODULE),true)
# 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 ($(HOST_OS),darwin) ifeq ($(HOST_OS),darwin)
my_use_clang_lld := false my_use_clang_lld := false
endif endif
# http://b/110800681 - lld cannot link Android's Windows modules yet.
ifeq ($(HOST_CROSS_OS),windows)
my_use_clang_lld := false
endif
endif endif