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
This commit is contained in:
@@ -109,6 +109,9 @@ $(combo_2nd_arch_prefix)TARGET_GLOBAL_LDFLAGS += \
|
|||||||
-Wl,--fatal-warnings \
|
-Wl,--fatal-warnings \
|
||||||
$(arch_variant_ldflags)
|
$(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
|
$(combo_2nd_arch_prefix)TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden
|
||||||
|
|
||||||
# More flags/options can be added here
|
# More flags/options can be added here
|
||||||
|
Reference in New Issue
Block a user