summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-02-03 19:43:52 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-02-03 19:43:52 +0000
commite9bc7b472db2d54aaef428fc3229b56dbe2bf6fa (patch)
treeff5738d3613f45a40e2342b3822f337e3ebdb4bc
parent10500d0ea7706a6a137e8afdd347d927f5512488 (diff)
parent4d0f56fba3cb89d871e1277d9314da12406394e5 (diff)
downloadbuild-e9bc7b472db2d54aaef428fc3229b56dbe2bf6fa.zip
build-e9bc7b472db2d54aaef428fc3229b56dbe2bf6fa.tar.gz
build-e9bc7b472db2d54aaef428fc3229b56dbe2bf6fa.tar.bz2
am 4d0f56fb: Merge "Disable transitive dependency library symbol resolving for mips."
* commit '4d0f56fba3cb89d871e1277d9314da12406394e5': Disable transitive dependency library symbol resolving for mips.
-rw-r--r--core/combo/TARGET_linux-mips.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/combo/TARGET_linux-mips.mk b/core/combo/TARGET_linux-mips.mk
index 489a3b5..55566eb 100644
--- a/core/combo/TARGET_linux-mips.mk
+++ b/core/combo/TARGET_linux-mips.mk
@@ -109,6 +109,9 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += \
-Wl,--fatal-warnings \
$(arch_variant_ldflags)
+# Disable transitive dependency library symbol resolving.
+$(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += -Wl,--allow-shlib-undefined
+
$(combo_2nd_arch_prefix)TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden
# More flags/options can be added here