Merge "Add -nostdlib to RS bc->so linker command line."

This commit is contained in:
Stephen Hines 2012-12-14 11:39:29 -08:00 committed by Android (Google) Code Review
commit 08d58814c3

View file

@ -824,7 +824,7 @@ define transform-bc-to-so
$(hide) mkdir -p $(dir $@)
$(hide) $(BCC_COMPAT) -o $(dir $@)/$(notdir $(<:.bc=.o)) -fPIC -shared \
-rt-path $(TARGET_OUT_SHARED_LIBRARIES)/libclcore.bc $<
$(hide) $(PRIVATE_CXX) -shared -Wl,-soname,$(notdir $@) \
$(hide) $(PRIVATE_CXX) -shared -Wl,-soname,$(notdir $@) -nostdlib \
$(dir $@)/$(notdir $(<:.bc=.o)) -o $@ -L prebuilts/gcc/ \
-L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) -lRSSupport -lm
endef