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:
parent
3a163803b7
commit
838bc11f60
@ -157,6 +157,8 @@ CLEANFILES+= ${GENSRCS}
|
||||
|
||||
all: ${SRCS}
|
||||
|
||||
build-tools: depend
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user