summaryrefslogtreecommitdiffstats
path: root/make/custom/dmv177.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/dmv177.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/custom/dmv177.cfg b/make/custom/dmv177.cfg
index 3e17920ee6..b718f1fcf0 100644
--- a/make/custom/dmv177.cfg
+++ b/make/custom/dmv177.cfg
@@ -107,7 +107,8 @@ HAS_RTC=yes
# $(LD_LIBS) \
# -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\)
define make-exe
- $(CC) $(CFLAGS) -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
+ $(CC) $(CPPFLAGS) $(CFLAGS) \
+ -o $(basename $@).nxe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
$(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
$(PACKHEX) > $(basename $@).exe