summaryrefslogtreecommitdiffstats
path: root/core/shared_library_internal.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-02-06 18:08:44 -0800
committerYing Wang <wangying@google.com>2014-02-07 09:11:22 -0800
commit1f9828387d8d3d0b1a02f99633ac58a68aa366ad (patch)
treef693f0e7a1eb0348a7e107af923601943025d270 /core/shared_library_internal.mk
parent8b20d5b97e98ddac6031cb555078f425aef1da8f (diff)
downloadbuild-1f9828387d8d3d0b1a02f99633ac58a68aa366ad.zip
build-1f9828387d8d3d0b1a02f99633ac58a68aa366ad.tar.gz
build-1f9828387d8d3d0b1a02f99633ac58a68aa366ad.tar.bz2
Refactor llvm_config.mk and support the 2nd arch
1. Following the setup of gcc in build/core/combo/, we added the [HOST|TARGET]_<arch>.mk clang config files, and load only the configs needed by the current product. 2. Added support for the 2nd arch. Change-Id: I2a383418a9688a050b39492f8e489d40eeeb5f2d
Diffstat (limited to 'core/shared_library_internal.mk')
-rw-r--r--core/shared_library_internal.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/shared_library_internal.mk b/core/shared_library_internal.mk
index 1ded4a1..c42cf37 100644
--- a/core/shared_library_internal.mk
+++ b/core/shared_library_internal.mk
@@ -41,7 +41,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