forked from openkylin/platform_build
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:
parent
73a730caf5
commit
cf6f808408
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue