commit | 46ed1e85908c05893ded59ca0e327b607541118a | [log] [tgz] |
---|---|---|
author | Dan Albert <danalbert@google.com> | Thu Aug 06 14:17:40 2015 -0700 |
committer | Dan Albert <danalbert@google.com> | Thu Aug 06 14:18:55 2015 -0700 |
tree | 173b755c7974cdbea72cf453aa3b7d07753bb475 | |
parent | 2c0c1e56dbbaa3abf1d25796c94d6a31594b307e [diff] |
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
diff --git a/core/combo/TARGET_linux-mips64.mk b/core/combo/TARGET_linux-mips64.mk index e940ef1..c09a491 100644 --- a/core/combo/TARGET_linux-mips64.mk +++ b/core/combo/TARGET_linux-mips64.mk
@@ -115,6 +115,9 @@ -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