mirror of https://github.com/OpenTTD/OpenTTD.git
(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:
parent
952f740866
commit
464ae63996
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue