summaryrefslogtreecommitdiffstats
path: root/make/custom/portsw.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'make/custom/portsw.cfg')
-rw-r--r--make/custom/portsw.cfg8
1 files changed, 4 insertions, 4 deletions
diff --git a/make/custom/portsw.cfg b/make/custom/portsw.cfg
index 8d499f56df..6129c133cd 100644
--- a/make/custom/portsw.cfg
+++ b/make/custom/portsw.cfg
@@ -45,11 +45,11 @@ define make-exe
endef
else
define make-exe
- $(CC) $(CPPFLAGS) -Wl,-Map,$(basename $@).map \
- $(CFLAGS) $(CFLAGS_LD) -o $(basename $@).exe \
+ $(LINK.c) -Wl,-Map,$(basename $@).map \
+ $(LDLIBS) -o $@ \
$(LINK_OBJS) $(LINK_LIBS)
- $(NM) -n $(basename $@).exe > $(basename $@).num
- $(SIZE) $(basename $@).exe
+ $(NM) -n $@ > $(basename $@).num
+ $(SIZE) $@
endef
endif