# HG changeset patch # User truelight # Date 1171919919 0 # Node ID ceff709a6c737492a85ac71a1e85aa1c444220d8 # Parent 55217fea83424b237ad6762f3f10940542a8d987 (svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP diff -r 55217fea8342 -r ceff709a6c73 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 $@