summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_chorus4.x_g++.GNU2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/makeinclude/platform_chorus4.x_g++.GNU b/include/makeinclude/platform_chorus4.x_g++.GNU
index 21b60df2cdd..42c79bd92b2 100644
--- a/include/makeinclude/platform_chorus4.x_g++.GNU
+++ b/include/makeinclude/platform_chorus4.x_g++.GNU
@@ -163,7 +163,7 @@ POSTLINK= -r $(OS_DIR)/lib/CC/libC.a $(OS_DIR)/lib/libbsd/libbsd.a \
-nostdlib -lgcc-chorus; \
mv $@ $@.xp.o; \
$(CHTOOLS_DIR)/host/bin/mkctors $@.xp.o > $@.ct.s; \
- $(CXX) -c $@.ct.s; \
+ $(CXX) -c $@.ct.s -o $@.ct.o; \
$(RM) $@.ct.s; \
$(LD) $(LDOPTIONS) -e _start -r -dn -o $@ \
$(NUCLEUS_DIR)/lib/crt/crth.u.o $(NUCLEUS_DIR)/lib/crt/crt0.o \