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:
@@ -419,10 +419,8 @@ endif
|
|||||||
# Unfortunately --exclude-libs always overrides all other attempts to make a
|
# Unfortunately --exclude-libs always overrides all other attempts to make a
|
||||||
# symbol visible, and libc needs to make sure some of these symbols are
|
# 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.
|
# available for binary compatibility, so libc needs a way to disable this.
|
||||||
ifndef LOCAL_IS_HOST_MODULE
|
ifneq ($(strip $(LOCAL_NO_EXCLUDE_LIBS)),true)
|
||||||
ifneq ($(strip $(LOCAL_NO_EXCLUDE_LIBS)),true)
|
my_ldflags += -Wl,--exclude-libs,libgcc.a
|
||||||
my_ldflags += -Wl,--exclude-libs,libgcc.a
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq (true,$(LOCAL_GROUP_STATIC_LIBRARIES))
|
ifeq (true,$(LOCAL_GROUP_STATIC_LIBRARIES))
|
||||||
|
Reference in New Issue
Block a user