Merge "Add comments about the -shared flag."

This commit is contained in:
Chih-Hung Hsieh 2015-01-23 23:33:54 +00:00 committed by Gerrit Code Review
commit f5ae7e91ea
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ LOCAL_SRC_FILES_x86_64 := arch/x86_64/begin.S
LOCAL_SRC_FILES_mips := arch/mips/begin.S linker_mips.cpp
LOCAL_SRC_FILES_mips64 := arch/mips64/begin.S linker_mips.cpp
# -shared is used to overwrite the -Bstatic and -static
# flags triggered by LOCAL_FORCE_STATIC_EXECUTABLE.
# This dynamic linker is actually a shared object linked with static libraries.
LOCAL_LDFLAGS := \
-shared \
-Wl,-Bsymbolic \