Merge "Add -nostdlib to RS bc->so linker command line."
This commit is contained in:
commit
08d58814c3
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue