diff options
-rw-r--r-- | Makefile.src.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.src.in b/Makefile.src.in index ca96f16c9..a6a1b57a3 100644 --- a/Makefile.src.in +++ b/Makefile.src.in @@ -226,6 +226,9 @@ $(BIN_DIR)/$(TTD): $(TTD) $(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 $@ |