summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-02-19 21:18:39 +0000
committertruelight <truelight@openttd.org>2007-02-19 21:18:39 +0000
commitf79618118f7f6d06b001c40eb83ee5f0fbbfa8e7 (patch)
tree336d42f142c049a0f1204de3440d8cef8e780dfa
parentee3d28ff8f304e979ad274c5319942409b6e5cad (diff)
downloadopenttd-f79618118f7f6d06b001c40eb83ee5f0fbbfa8e7.tar.xz
(svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP
-rw-r--r--Makefile.src.in3
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 $@