It fixes binsize increase after 93b6ca91696109be904448d23763f41b64bd7b8c^W r31127
That flag is used already for android, bootbox, codecs, chessbox, goban, imageviewer, lua, pictureflow, rockboy, zxbox, overlays 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.3