# HG changeset patch # User truelight # Date 1171919919 0 # Node ID 6e2526ba7cb5dbedef1d105e221015b0ed7bd21c # Parent 37a5650e85964ec69b4e2401330f9895ec8b7505 (svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP diff --git a/Makefile.src.in b/Makefile.src.in --- a/Makefile.src.in +++ b/Makefile.src.in @@ -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 $@