summaryrefslogtreecommitdiffstats
path: root/core/definitions.mk
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-01-18 16:27:23 -0800
committerStephen Hines <srhines@google.com>2013-01-18 16:41:22 -0800
commit9541f5864d2f9c11fe3e06fcee8e1ca2bdd2082f (patch)
treebeee4ff1ef99b6accda600efd98c6b773ce52833 /core/definitions.mk
parent7028f5ec862229090818ee8dfe33107ffbaec9c7 (diff)
downloadbuild-9541f5864d2f9c11fe3e06fcee8e1ca2bdd2082f.zip
build-9541f5864d2f9c11fe3e06fcee8e1ca2bdd2082f.tar.gz
build-9541f5864d2f9c11fe3e06fcee8e1ca2bdd2082f.tar.bz2
Build RS compatibility objects with libcompiler-rt.a.
Change-Id: Ic49fdc30b1d4568bbdc94338e116a31a1ade1e80
Diffstat (limited to 'core/definitions.mk')
-rw-r--r--core/definitions.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index e216a70..1b55564 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -826,7 +826,9 @@ $(hide) $(BCC_COMPAT) -O3 -o $(dir $@)/$(notdir $(<:.bc=.o)) -fPIC -shared \
-rt-path $(PRIVATE_LIBCLCORE) $<
$(hide) $(PRIVATE_CXX) -shared -Wl,-soname,$(notdir $@) -nostdlib \
-Wl,-rpath,\$$ORIGIN/../lib \
- $(dir $@)/$(notdir $(<:.bc=.o)) -o $@ -L prebuilts/gcc/ \
+ $(dir $@)/$(notdir $(<:.bc=.o)) \
+ $(PRIVATE_COMPILER_RT) \
+ -o $@ -L prebuilts/gcc/ \
-L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) -lRSSupport -lm
endef