Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5408ff73 authored by Dan Albert's avatar Dan Albert
Browse files

Revert "Don't re-export libgcc symbols from every object."

For some reason shamu doesn't boot after this change.

Bug: http://b/24166967

This reverts commit e92d25f2.

Change-Id: Ibd90c0fccb1fe7446f959c937963d1aa4e43c37c
parent e92d25f2
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -586,11 +586,6 @@ HOST_GLOBAL_CPPFLAGS += $(HOST_RELEASE_CPPFLAGS)
TARGET_GLOBAL_CFLAGS += $(TARGET_RELEASE_CFLAGS)
TARGET_GLOBAL_CPPFLAGS += $(TARGET_RELEASE_CPPFLAGS)

# Target modules shouldn't re-export libgcc.a because we don't want other
# binaries importing them when they should be getting their own copy of the
# builtins.
TARGET_GLOBAL_LDFLAGS += -Wl,--exclude-libs,libgcc.a

ifdef TARGET_2ND_ARCH
$(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_GLOBAL_CFLAGS += $(COMMON_GLOBAL_CFLAGS)
$(TARGET_2ND_ARCH_VAR_PREFIX)TARGET_RELEASE_CFLAGS += $(COMMON_RELEASE_CFLAGS)