(svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP
authortruelight
Mon, 19 Feb 2007 21:18:39 +0000
changeset 6084 1bf4040cd72e
parent 6083 53aedcdb9e90
child 6085 f6f90fd20181
(svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP
Makefile.src.in
--- a/Makefile.src.in	Mon Feb 19 21:11:44 2007 +0000
+++ b/Makefile.src.in	Mon Feb 19 21:18:39 2007 +0000
@@ -226,6 +226,9 @@
 $(TTD): rev.o $(OBJS) $(CONFIG_CACHE_LINKER)
 	$(E) '$(STAGE) Linking $@'
 ifeq ($(OS), PSP)
+	# Because of a bug in the PSP GCC tools, linking via CXX results
+	#  in total chaos and more problems then you can handle. So we need
+	#  CC to link OpenTTD for PSP
 	$(Q)$(CC_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@
 else
 	$(Q)$(CXX_HOST) $(LDFLAGS) rev.o $(OBJS) $(LIBS) -o $@