diff options
author | rubidium <rubidium@openttd.org> | 2009-06-22 20:33:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-06-22 20:33:15 +0000 |
commit | 464ae639967a42f95e5cdbb64e11e6fdeb1b66ff (patch) | |
tree | d070f2da6930fc02be7c8167b0aa4aeb6ecaf375 | |
parent | 952f74086600de7088744b933e9b1f51019caa84 (diff) | |
download | openttd-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.in | 2 |
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 |