summaryrefslogtreecommitdiffstats
path: root/make/custom/p4000.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/p4000.cfg')
-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 a5965f8124..ac970a8e6a 100644
--- a/make/custom/p4000.cfg
+++ b/make/custom/p4000.cfg
@@ -58,7 +58,7 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CPPFLAGS) $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec