summaryrefslogtreecommitdiff
path: root/apps/plugins/zxbox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/zxbox/Makefile')
-rw-r--r--apps/plugins/zxbox/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/zxbox/Makefile b/apps/plugins/zxbox/Makefile
index 3ca5d300f1..49f16a0bd2 100644
--- a/apps/plugins/zxbox/Makefile
+++ b/apps/plugins/zxbox/Makefile
@@ -43,7 +43,7 @@ all: $(OUTPUT)
ifndef SIMVER
$(OBJDIR)/zxbox.elf: $(OBJS) $(LINKFILE)
- $(call PRINTS,LD $(@F))$(CC) $(GCCOPTS) -O -nostdlib -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \
+ $(call PRINTS,LD $(@F))$(CC) $(CFLAGS) -o $@ $(OBJS) -L$(BUILDDIR) -lplugin -lgcc \
-T$(LINKFILE) -Wl,-Map,$(OBJDIR)/zxbox.map
$(OUTPUT): $(OBJDIR)/zxbox.elf