summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2013-04-28 21:00:43 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-04-28 21:09:10 +0200
commit850491a043a9341ef31ffb8c02eedd2ae7b2c53e (patch)
tree686abad9b119452c95fc3a17b7dc5ca4246926cc
parent08199cd6cb1e2c600eb16ce077cc308fee82de33 (diff)
downloadrockbox-850491a043a9341ef31ffb8c02eedd2ae7b2c53e.tar.gz
rockbox-850491a043a9341ef31ffb8c02eedd2ae7b2c53e.zip
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
-rw-r--r--lib/fixedpoint/fixedpoint.make1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/fixedpoint/fixedpoint.make b/lib/fixedpoint/fixedpoint.make
index 0233e9499b..bfbde74ce1 100644
--- a/lib/fixedpoint/fixedpoint.make
+++ b/lib/fixedpoint/fixedpoint.make
@@ -16,7 +16,6 @@ OTHER_SRC += $(FIXEDPOINTLIB_SRC)
16# If not SOFTWARECODECS, then only plugins depend upon us 16# If not SOFTWARECODECS, then only plugins depend upon us
17ifdef SOFTWARECODECS 17ifdef SOFTWARECODECS
18CORE_LIBS += $(FIXEDPOINTLIB) 18CORE_LIBS += $(FIXEDPOINTLIB)
19CORE_GCSECTIONS := yes
20endif 19endif
21 20
22FIXEDPOINTLIB_FLAGS := $(CFLAGS) $(SHARED_CFLAGS) 21FIXEDPOINTLIB_FLAGS := $(CFLAGS) $(SHARED_CFLAGS)