summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-06-22 20:33:15 +0000
committerrubidium <rubidium@openttd.org>2009-06-22 20:33:15 +0000
commit464ae639967a42f95e5cdbb64e11e6fdeb1b66ff (patch)
treed070f2da6930fc02be7c8167b0aa4aeb6ecaf375
parent952f74086600de7088744b933e9b1f51019caa84 (diff)
downloadopenttd-464ae639967a42f95e5cdbb64e11e6fdeb1b66ff.tar.xz
(svn r16624) -Fix: depend was compiled with the same compiler as the OpenTTD binary, causing depend to silently fail during cross-compiles
-rw-r--r--Makefile.src.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.src.in b/Makefile.src.in
index 78150f1ad..c5c590dd1 100644
--- a/Makefile.src.in
+++ b/Makefile.src.in
@@ -152,7 +152,7 @@ ifeq ("$(SRC_OBJS_DIR)/$(DEPEND)","$(MAKEDEPEND)")
DEP := $(MAKEDEPEND)
$(SRC_OBJS_DIR)/$(DEPEND): $(SRC_DIR)/depend/depend.cpp
$(E) '$(STAGE) Compiling and linking $(DEPEND)'
- $(Q)$(CXX_HOST) -o $@ $<
+ $(Q)$(CXX_BUILD) $(CFLAGS_BUILD) -o $@ $<
endif
# Make sure that only 'make depend' ALWAYS triggers a recheck