summaryrefslogtreecommitdiffstats
path: root/make/custom/psim.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/psim.cfg')
-rw-r--r--make/custom/psim.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/custom/psim.cfg b/make/custom/psim.cfg
index 4dbce3d394..3ec564d0ea 100644
--- a/make/custom/psim.cfg
+++ b/make/custom/psim.cfg
@@ -100,7 +100,7 @@ endef
else
# -Wl,--gc-sections
define make-exe
- $(CC) $(CPPFLAGS) $(CFLAGS) -o $(basename $@).exe \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@