diff options
Diffstat (limited to 'apps/plugins/beatbox/Makefile')
| -rw-r--r-- | apps/plugins/beatbox/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/beatbox/Makefile b/apps/plugins/beatbox/Makefile index 88ed7a4..9465c42 100644 --- a/apps/plugins/beatbox/Makefile +++ b/apps/plugins/beatbox/Makefile @@ -38,7 +38,7 @@ all: $(OUTPUT) ifndef SIMVER $(OBJDIR)/beatbox.elf: $(OBJS) $(LINKFILE) $(BITMAPLIBS) $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \ - $(LINKBITMAPS) -T$(LINKFILE) -Wl,-Map,$(OBJDIR)/beatbox.map + $(LINKBITMAPS) -T$(LINKFILE) -Wl,--gc-sections -Wl,-Map,$(OBJDIR)/beatbox.map $(OUTPUT): $(OBJDIR)/beatbox.elf $(call PRINTS,OBJCOPY $(@F))$(OC) -O binary $< $@ |