summaryrefslogtreecommitdiffstats
path: root/make/custom/c4xsim.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/c4xsim.cfg')
-rw-r--r--make/custom/c4xsim.cfg3
1 files changed, 2 insertions, 1 deletions
diff --git a/make/custom/c4xsim.cfg b/make/custom/c4xsim.cfg
index 6f2c10be50..2fe0f08b1c 100644
--- a/make/custom/c4xsim.cfg
+++ b/make/custom/c4xsim.cfg
@@ -50,7 +50,8 @@ START_BASE=
# will be able to override parts of the compilers specs and link using gcc.
define make-exe
- $(CC) $(CPPFLAGS) $(CFLAGS) -o $(basename $@).exe \
+ $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
+ $(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
$(NM) -g -n $@ > $(basename $@).num
$(SIZE) $@