summaryrefslogtreecommitdiff
path: root/Makefile.src.in
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
commitc4a8336835f5d5019ec5fc324767015520c54ea3 (patch)
tree336d42f142c049a0f1204de3440d8cef8e780dfa /Makefile.src.in
parentaf18972b7aff103dd8edc44b3754f98ec1a31804 (diff)
downloadopenttd-c4a8336835f5d5019ec5fc324767015520c54ea3.tar.xz
(svn r8819) [Config] -Documentation: added why we need CC_HOST for linking on PSP
Diffstat (limited to 'Makefile.src.in')
-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 $@