Revert "Don't apply --exclude-libs for the host."
This reverts commit 1576da248c
.
Bug: http://b/24166967
Change-Id: Ibd7eec5c261e85a0474243991be7ee1860c9e14d
This commit is contained in:
parent
87e0e8a764
commit
31927f76a3
|
@ -419,10 +419,8 @@ endif
|
|||
# Unfortunately --exclude-libs always overrides all other attempts to make a
|
||||
# symbol visible, and libc needs to make sure some of these symbols are
|
||||
# available for binary compatibility, so libc needs a way to disable this.
|
||||
ifndef LOCAL_IS_HOST_MODULE
|
||||
ifneq ($(strip $(LOCAL_NO_EXCLUDE_LIBS)),true)
|
||||
my_ldflags += -Wl,--exclude-libs,libgcc.a
|
||||
endif
|
||||
ifneq ($(strip $(LOCAL_NO_EXCLUDE_LIBS)),true)
|
||||
my_ldflags += -Wl,--exclude-libs,libgcc.a
|
||||
endif
|
||||
|
||||
ifeq (true,$(LOCAL_GROUP_STATIC_LIBRARIES))
|
||||
|
|
Loading…
Reference in New Issue