Merge "Add -Wl,--hash-style=sysv flag to rs: transform-bc-to-so for compatibility lib."

This commit is contained in:
Miao Wang 2014-11-17 21:25:24 +00:00 committed by Gerrit Code Review
commit ec64b05e9d
1 changed files with 1 additions and 1 deletions

View File

@ -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 $@ $(TARGET_GLOBAL_LDFLAGS) -L prebuilts/gcc/ \
-o $@ $(TARGET_GLOBAL_LDFLAGS) -Wl,--hash-style=sysv -L prebuilts/gcc/ \
-L $(TARGET_OUT_INTERMEDIATE_LIBRARIES) $(RS_PREBUILT_LIBPATH) \
-lRSSupport -lm -lc
endef