summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make/custom/mbx8xx.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/custom/mbx8xx.cfg b/make/custom/mbx8xx.cfg
index f868c2fb52..490a7d6faa 100644
--- a/make/custom/mbx8xx.cfg
+++ b/make/custom/mbx8xx.cfg
@@ -181,7 +181,7 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CFLAGS) $(CPU_CFLAGS) $(XLDFLAGS) -o $(basename $@).exe \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).nm
$(STRIP) -o $(basename $@) $@