From 850491a043a9341ef31ffb8c02eedd2ae7b2c53e Mon Sep 17 00:00:00 2001 From: Dominik Riebeling Date: Sun, 28 Apr 2013 21:00:43 +0200 Subject: 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 --- lib/fixedpoint/fixedpoint.make | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/fixedpoint/fixedpoint.make b/lib/fixedpoint/fixedpoint.make index 0233e94..bfbde74 100644 --- a/lib/fixedpoint/fixedpoint.make +++ b/lib/fixedpoint/fixedpoint.make @@ -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) -- cgit v1.1