diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-27 17:14:33 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2001-09-27 17:14:33 +0000 |
commit | 838bc11f6067b2fc91c38d8fe9641dc56dc87937 (patch) | |
tree | 5baf0837aa6cecb08b4d1b6c03da9769932bccd0 /gnu | |
parent | 3a163803b7d99d70c97af12e783815f287b7f8df (diff) | |
download | src-838bc11f6067b2fc91c38d8fe9641dc56dc87937.tar.gz src-838bc11f6067b2fc91c38d8fe9641dc56dc87937.zip |
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
Notes
Notes:
svn path=/head/; revision=84032
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 2 |
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 f15fd68908e6..9d84e9ac8c28 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> #----------------------------------------------------------------------- |