We need to build ``.depend'' early in the "build-tools" for the GCC

"build-tools".  If we do not do this, the "depend" stage of
"buildworld" will build ``.depend'' and it will record the wrong
library and header dependencies (DESTDIR=${WORLDTMP}).  Even worse,
the "all" stage may clobber build-architecture-format build tools
built in the "build-tools" stage with target-architecture-format ones.

Submitted by:	ru
This commit is contained in:
David E. O'Brien 2001-09-27 17:14:33 +00:00
parent 3a163803b7
commit 838bc11f60

View File

@ -157,6 +157,8 @@ CLEANFILES+= ${GENSRCS}
all: ${SRCS}
build-tools: depend
.include <bsd.prog.mk>
#-----------------------------------------------------------------------