summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-12-20 11:42:35 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2010-12-20 11:42:35 -0800
commit085ff6a8ac90e989507097885eaf65c9587c2c96 (patch)
tree9391e3aa664cd25539df11f0f86ff0ebaf16f023 /core/definitions.mk
parentfe2be8ed3306e0fc6ec90a20ec846bddbcd20f2a (diff)
parent098826bf61cba2b14a0538100878bdb029f50790 (diff)
downloadbuild-085ff6a8ac90e989507097885eaf65c9587c2c96.zip
build-085ff6a8ac90e989507097885eaf65c9587c2c96.tar.gz
build-085ff6a8ac90e989507097885eaf65c9587c2c96.tar.bz2
am 098826bf: am 099fecd7: Use PRIVATE_CXX in HOST modules.
* commit '098826bf61cba2b14a0538100878bdb029f50790': Use PRIVATE_CXX in HOST modules.
Diffstat (limited to 'core/definitions.mk')
-rw-r--r--core/definitions.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 5c72866..6ba7485 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1119,7 +1119,7 @@ endef
# it to be overriden en-masse see combo/linux-arm.make for an example.
ifneq ($(HOST_CUSTOM_LD_COMMAND),true)
define transform-host-o-to-shared-lib-inner
-$(HOST_CXX) \
+$(PRIVATE_CXX) \
-Wl,-rpath-link=$(TARGET_OUT_INTERMEDIATE_LIBRARIES) \
-Wl,-rpath,\$$ORIGIN/../lib \
-shared -Wl,-soname,$(notdir $@) \
@@ -1279,7 +1279,7 @@ endef
ifneq ($(HOST_CUSTOM_LD_COMMAND),true)
define transform-host-o-to-executable-inner
-$(HOST_CXX) \
+$(PRIVATE_CXX) \
-Wl,-rpath-link=$(TARGET_OUT_INTERMEDIATE_LIBRARIES) \
-Wl,-rpath,\$$ORIGIN/../lib \
$(HOST_GLOBAL_LD_DIRS) \