am 84a50003: am a41dd0a9: Merge "Don\'t apply --exclude-libs for the host."

* commit '84a500039db9f77973ef9bfe0955df4eaa2244dc':
  Don't apply --exclude-libs for the host.
This commit is contained in:
Dan Albert 2015-09-23 20:48:15 +00:00 committed by Android Git Automerger
commit bbf62b44b5
1 changed files with 4 additions and 2 deletions

View File

@ -419,8 +419,10 @@ 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.
ifneq ($(strip $(LOCAL_NO_EXCLUDE_LIBS)),true)
my_ldflags += -Wl,--exclude-libs,libgcc.a
ifndef LOCAL_IS_HOST_MODULE
ifneq ($(strip $(LOCAL_NO_EXCLUDE_LIBS)),true)
my_ldflags += -Wl,--exclude-libs,libgcc.a
endif
endif
ifeq (true,$(LOCAL_GROUP_STATIC_LIBRARIES))