summaryrefslogtreecommitdiffstats
path: root/core/combo
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2015-02-03 10:58:50 -0800
committerYing Wang <wangying@google.com>2015-02-03 10:58:50 -0800
commit624ef02a5011787139eb882c055bb5f176da4b89 (patch)
treecba0380e6a9949754362b477192aba149af85c32 /core/combo
parent5cb4276e48d84b66ad797f847361644af1b5754e (diff)
downloadbuild-624ef02a5011787139eb882c055bb5f176da4b89.zip
build-624ef02a5011787139eb882c055bb5f176da4b89.tar.gz
build-624ef02a5011787139eb882c055bb5f176da4b89.tar.bz2
Disable transitive dependency library symbol resolving for mips.
The transitive symbol resolving causes build breakage when a binary linked against NDK has indirect dependency on platform libraries, or vice versa. Change-Id: Idbfe76079c1db14eb1156d0f396e13d26f0ff582
Diffstat (limited to 'core/combo')
-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