Merge "Use $(my_prefix)OS instead of HOST_CROSS_OS" am: 69af20f184

am: 897b03f9ee

Change-Id: I23e85438df9b7c33e2cc6805843692cee047bb79
This commit is contained in:
Pirama Arumuga Nainar
2018-06-27 13:17:40 -07:00
committed by android-build-merger

View File

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