From 838bc11f6067b2fc91c38d8fe9641dc56dc87937 Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Thu, 27 Sep 2001 17:14:33 +0000 Subject: [PATCH] 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 --- gnu/usr.bin/cc/cc_tools/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index f15fd68908e..9d84e9ac8c2 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -157,6 +157,8 @@ CLEANFILES+= ${GENSRCS} all: ${SRCS} +build-tools: depend + .include #-----------------------------------------------------------------------