Remove (TARGET|HOST)_NO_UNDEFINED_LDFLAGS

We never use it for host modules, and all the target configurations use
the same linker argument. This matches Soong.

Change-Id: Ibcba9a4ce340c7a12306d1fee620a04027c0e292
This commit is contained in:
Dan Willemsen
2016-05-18 12:50:53 -07:00
parent 30b57cd7d5
commit 8308f506ce
11 changed files with 1 additions and 19 deletions

View File

@@ -493,7 +493,7 @@ endif
# up if --no-undefined is passed to the linker.
ifeq ($(strip $(LOCAL_NO_DEFAULT_COMPILER_FLAGS)),)
ifeq ($(my_allow_undefined_symbols),)
my_ldflags += $($(LOCAL_2ND_ARCH_VAR_PREFIX)$(my_prefix)NO_UNDEFINED_LDFLAGS)
my_ldflags += -Wl,--no-undefined
endif
endif