summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-08-13 18:47:50 -0700
committerYing Wang <wangying@google.com>2014-08-13 18:47:50 -0700
commit903e2dd014bd479816e5b11fe5f985068549edc9 (patch)
treeb2ac311c47b13df503ace85739d566e0a69e81d8 /core/definitions.mk
parentec4c5391f187cebd10721146eb00562584a5c418 (diff)
downloadbuild-903e2dd014bd479816e5b11fe5f985068549edc9.zip
build-903e2dd014bd479816e5b11fe5f985068549edc9.tar.gz
build-903e2dd014bd479816e5b11fe5f985068549edc9.tar.bz2
Apply TARGET_GLOBAL_LDFLAGS to transform-bc-to-so
This fixes mips unbundled build since we switched to mips64el toolchain for both mips and mips64. TODO: multilib build support. Change-Id: I7add92d2cecfc3ab739785ceef6700240a25093a
Diffstat (limited to 'core/definitions.mk')
-rw-r--r--core/definitions.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index a6c473e..13959aa 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -884,7 +884,7 @@ $(hide) $(PRIVATE_CXX) -shared -Wl,-soname,$(notdir $@) -nostdlib \
-Wl,-rpath,\$$ORIGIN/../lib \
$(dir $@)/$(notdir $(<:.bc=.o)) \
$(RS_PREBUILT_COMPILER_RT) \
- -o $@ -L prebuilts/gcc/ \
+ -o $@ $(TARGET_GLOBAL_LDFLAGS) -L prebuilts/gcc/ \
-L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) $(RS_PREBUILT_LIBPATH) \
-lRSSupport -lm -lc
endef