|
|
Rockbox mail archiveSubject: [PATCH] Give --gc-sections to the linker[PATCH] Give --gc-sections to the linker
From: Rafaël Carré <funman_at_videolan.org>
Date: Sat, 3 Dec 2011 18:22:34 -0500
It fixes binsize increase after 93b6ca91696109be904448d23763f41b64bd7b8c^W r31127
That flag is used already for android, bootbox, codecs, chessbox, goban,
Tested on Clip Zip
--- tools/configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/tools/configure b/tools/configure index 80c6380..6117f4f 100755 --- a/tools/configure +++ b/tools/configure @@ -9,7 +9,7 @@ # # global CC options for all platforms -CCOPTS="-W -Wall -Wundef -O -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99" +CCOPTS="-W -Wall -Wundef -O -nostdlib -ffreestanding -Wstrict-prototypes -pipe -std=gnu99 -Wl,--gc-sections" # global LD options for all platforms GLOBAL_LDOPTS="" -- 1.7.7.3Received on 2011-12-04 Page was last modified "Jan 10 2012" The Rockbox Crew |