Fix -j builds for gcc-3.4. The .nx build in cc_tools was breaking
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 21 Jun 2004 21:50:02 +0000 (21:50 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 21 Jun 2004 21:50:02 +0000 (21:50 +0000)
commit587194e6fff2a26b850974439d2cf07893a628c3
tree9d4cae4839b202b492ec68c7e31607af2cb99c53
parent73dfb31673af01a291e6a6945210b59608e7bb59
Fix -j builds for gcc-3.4.  The .nx build in cc_tools was breaking
parallelism because individual source/header dependancies were being built
in parallel, and this was causing the helper programs to build in parallel
and/or generate the same header file in parallel.

Remove all direct dependancies on the helper programs.  Make libgcc
dependant on cc_tools (to generate required header files), clean up
the dependancy target for cc_tools, and force make depend to build
the tools in bsd.hostprog.mk.  This should result in all the tools being
available to the rest of the gcc-3.4 build.

Tested with several -j 8 builds.  There could still be additional
-j issues.
share/mk/bsd.hostprog.mk