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