summaryrefslogtreecommitdiffstats
path: root/make/custom/p4000.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--make/custom/p4000.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/custom/p4000.cfg b/make/custom/p4000.cfg
index d036013511..bb187c6577 100644
--- a/make/custom/p4000.cfg
+++ b/make/custom/p4000.cfg
@@ -63,7 +63,7 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
+ $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec