From 46ed1e85908c05893ded59ca0e327b607541118a Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Thu, 6 Aug 2015 14:17:40 -0700 Subject: [PATCH] Disable transitive symbol resolving for mips64. The transitive symbol resolving causes build breakage when a binary has indirect dependency on the NDK library. This matches the change made for the the aarch64 toolchain: https://android-review.googlesource.com/#/c/120654 Change-Id: Id5b2a63301cb1cdcdd84b4bcd9fbec8cf6ec0b3c --- core/combo/TARGET_linux-mips64.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/combo/TARGET_linux-mips64.mk b/core/combo/TARGET_linux-mips64.mk index e940ef1d4..c09a491f7 100644 --- a/core/combo/TARGET_linux-mips64.mk +++ b/core/combo/TARGET_linux-mips64.mk @@ -115,6 +115,9 @@ TARGET_GLOBAL_LDFLAGS += \ -Wl,--fatal-warnings \ $(arch_variant_ldflags) +# Disable transitive dependency library symbol resolving. +TARGET_GLOBAL_LDFLAGS += -Wl,--allow-shlib-undefined + TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden # More flags/options can be added here -- 2.11.0