summaryrefslogtreecommitdiffstats
path: root/make/custom/p4600.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/p4600.cfg')
-rw-r--r--make/custom/p4600.cfg4
1 files changed, 2 insertions, 2 deletions
diff --git a/make/custom/p4600.cfg b/make/custom/p4600.cfg
index 8f77c8c2af..6257c0ea90 100644
--- a/make/custom/p4600.cfg
+++ b/make/custom/p4600.cfg
@@ -81,8 +81,8 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe $(LINK_OBJS) \
- $(LINK_LIBS)
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) \
+ -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec
$(RM) $(basename $@).srec1