From 1f9828387d8d3d0b1a02f99633ac58a68aa366ad Mon Sep 17 00:00:00 2001 From: Ying Wang Date: Thu, 6 Feb 2014 18:08:44 -0800 Subject: Refactor llvm_config.mk and support the 2nd arch 1. Following the setup of gcc in build/core/combo/, we added the [HOST|TARGET]_.mk clang config files, and load only the configs needed by the current product. 2. Added support for the 2nd arch. Change-Id: I2a383418a9688a050b39492f8e489d40eeeb5f2d --- core/executable_internal.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/executable_internal.mk') diff --git a/core/executable_internal.mk b/core/executable_internal.mk index 33a573f..f2cb4a9 100644 --- a/core/executable_internal.mk +++ b/core/executable_internal.mk @@ -29,7 +29,7 @@ include $(BUILD_SYSTEM)/dynamic_binary.mk # Define PRIVATE_ variables from global vars my_target_global_ld_dirs := $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_GLOBAL_LD_DIRS) ifeq ($(LOCAL_CLANG),true) -my_target_global_ldflags := $(CLANG_TARGET_GLOBAL_LDFLAGS) +my_target_global_ldflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)CLANG_TARGET_GLOBAL_LDFLAGS) else my_target_global_ldflags := $($(LOCAL_2ND_ARCH_VAR_PREFIX)TARGET_GLOBAL_LDFLAGS) endif -- cgit v1.1