From 65e4560308b4086e77330f986473ffe18ae93a7c Mon Sep 17 00:00:00 2001 From: Yi Kong Date: Mon, 12 Nov 2018 09:32:47 -0800 Subject: [PATCH] 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 --- core/clang/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/clang/config.mk b/core/clang/config.mk index df9cad2e77..10bea56d41 100644 --- a/core/clang/config.mk +++ b/core/clang/config.mk @@ -1,6 +1,6 @@ ## 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 $(strip $(filter-out $(CLANG_CONFIG_UNKNOWN_CFLAGS),$(1)))