summaryrefslogtreecommitdiffstats
path: root/make/custom/gen405.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/gen405.cfg')
-rw-r--r--make/custom/gen405.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/custom/gen405.cfg b/make/custom/gen405.cfg
index 1bc9628010..311d5180a8 100644
--- a/make/custom/gen405.cfg
+++ b/make/custom/gen405.cfg
@@ -46,7 +46,8 @@ endef
# $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec
define make-cxx-exe
- $(LINK.c) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
+ $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
+ -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@