Disable transitive symbol resolving for arm64.

The transitive symbol resolving causes build breakage when a binary
has indirect dependency on the NDK library.
We only observed such behaviour in the aarch64 toolchain.

Change-Id: I29e01f16bdfa3aa206cd42d6f07c764fd436873a
This commit is contained in:
Ying Wang 2014-12-19 16:37:46 -08:00
parent 73a730caf5
commit cf6f808408
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,9 @@ TARGET_GLOBAL_LDFLAGS += \
-Wl,--hash-style=gnu \
$(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