summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-09-27 17:14:33 +0000
committerobrien <obrien@FreeBSD.org>2001-09-27 17:14:33 +0000
commitfe8d76fb16703eb10c1ad388c54b5f278658df9d (patch)
tree5baf0837aa6cecb08b4d1b6c03da9769932bccd0 /gnu
parent9bbfbca6eef0284501a092fc334aada3a7725c8c (diff)
downloadFreeBSD-src-fe8d76fb16703eb10c1ad388c54b5f278658df9d.zip
FreeBSD-src-fe8d76fb16703eb10c1ad388c54b5f278658df9d.tar.gz
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index f15fd68..9d84e9a 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 <bsd.prog.mk>
#-----------------------------------------------------------------------
OpenPOWER on IntegriCloud