Always get target llvm rtlib from Linux toolchain directory

To avoid duplication, we would only ship one copy of the target llvm
runtime library. Change the source path to Linux on Darwin host.

Test: m checkbuild
Bug: 119288831
Bug: 119270185
Change-Id: Ie32d65d6647765a5060078cc61a089e5a47c3a36
This commit is contained in:
Yi Kong
2018-11-12 09:32:47 -08:00
parent a81a534c58
commit 65e4560308

View File

@@ -1,6 +1,6 @@
## Clang configurations. ## Clang configurations.
LLVM_RTLIB_PATH := $(LLVM_PREBUILTS_PATH)/../lib64/clang/$(LLVM_RELEASE_VERSION)/lib/$(HOST_OS)/ LLVM_RTLIB_PATH := $(LLVM_PREBUILTS_BASE)/linux-x86/$(LLVM_PREBUILTS_VERSION)/lib64/clang/$(LLVM_RELEASE_VERSION)/lib/linux/
define convert-to-clang-flags define convert-to-clang-flags
$(strip $(filter-out $(CLANG_CONFIG_UNKNOWN_CFLAGS),$(1))) $(strip $(filter-out $(CLANG_CONFIG_UNKNOWN_CFLAGS),$(1)))