From 464ae639967a42f95e5cdbb64e11e6fdeb1b66ff Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 22 Jun 2009 20:33:15 +0000 Subject: [PATCH] (svn r16624) -Fix: depend was compiled with the same compiler as the OpenTTD binary, causing depend to silently fail during cross-compiles --- Makefile.src.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.src.in b/Makefile.src.in index 78150f1ad4..c5c590dd1f 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