X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FMakefile.defs;fp=src%2FMakefile.defs;h=c2d5247cd1ea1cfcbf4129b2e7c291e2f87c3ed7;hb=3a7ae9e964c9554a667a09d6b437fef136bc0fa0;hp=d9b719973da61e5c52fabe871d8b3111318b7630;hpb=1523a986a7c2e8402c628e2697e44fe6281c164e;p=fw%2Faltos diff --git a/src/Makefile.defs b/src/Makefile.defs index d9b71997..c2d5247c 100644 --- a/src/Makefile.defs +++ b/src/Makefile.defs @@ -23,6 +23,7 @@ OPT=-Os -Wl,-Map=$(PROGNAME)-$(VERSION).map PICOLIBC_CFLAGS= \ -specs=picolibc.specs \ + -Wl,--gc-sections \ $(PICOLIBC_PRINTF_CFLAGS) AO_CFLAGS=\