(svn r16624) -Fix: depend was compiled with the same compiler as the OpenTTD binary, causing depend to silently fail during cross-compiles

This commit is contained in:
rubidium 2009-06-22 20:33:15 +00:00
parent 952f740866
commit 464ae63996
1 changed files with 1 additions and 1 deletions

View File

@ -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