summaryrefslogtreecommitdiffstats
path: root/make/custom/p4650.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/p4650.cfg')
-rw-r--r--make/custom/p4650.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/custom/p4650.cfg b/make/custom/p4650.cfg
index 6b2ff786c2..e0f6cc58e0 100644
--- a/make/custom/p4650.cfg
+++ b/make/custom/p4650.cfg
@@ -69,7 +69,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) $(LD_LIBS)
$(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec1
$(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec