Don't set CORE_GCSECTIONS in fixedpoint.make.

fixedpoint.make is not a subdir Makefile but a lib Makefile. Setting
CORE_GCSECTIONS in it will affect the final link and make it always use
--gc-sections (for SWCODEC Rockbox), since libfixedpoint is always needed
(bootloader and HWCODEC don't use libfixedpoint).

Fixes FS#12857.

Change-Id: Ib30bd03cbcea9c339a73daf7b673868aa3cc7a88
This commit is contained in:
Dominik Riebeling 2013-04-28 21:00:43 +02:00
parent 08199cd6cb
commit 850491a043

View file

@ -16,7 +16,6 @@ OTHER_SRC += $(FIXEDPOINTLIB_SRC)
# If not SOFTWARECODECS, then only plugins depend upon us
ifdef SOFTWARECODECS
CORE_LIBS += $(FIXEDPOINTLIB)
CORE_GCSECTIONS := yes
endif
FIXEDPOINTLIB_FLAGS := $(CFLAGS) $(SHARED_CFLAGS)