summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2002-05-10 10:14:53 +0000
committerobrien <obrien@FreeBSD.org>2002-05-10 10:14:53 +0000
commit07f909dd68e72d1764c126c7ff8d7aa0d9596597 (patch)
tree5dfb2ff257303afd43e08154f0591a0f85120a33 /gnu
parentbdc472c2339c8d27986c9d3bc7ba60bf7847c7f3 (diff)
downloadFreeBSD-src-07f909dd68e72d1764c126c7ff8d7aa0d9596597.zip
FreeBSD-src-07f909dd68e72d1764c126c7ff8d7aa0d9596597.tar.gz
This was *very* -j unsafe. Add a dependency on the common generated
headers to mostly make it -j1 safe.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/cc/cc_tools/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile
index 839842f..ac899b9 100644
--- a/gnu/usr.bin/cc/cc_tools/Makefile
+++ b/gnu/usr.bin/cc/cc_tools/Makefile
@@ -217,6 +217,9 @@ OBJS+= ${SRCS:N*.h:R:S/$/.o/g}
#
${OBJS:Nbitmap.o:Nerrors.o:Ngenattr.o:Ngencheck.o:Ngencodes.o:Ngenconfig.o:Ngenflags.o:Ngengenrtl.o:Ngenpreds.o:Ngensupport.o:Nggc-none.o:Nhashtab.o:Nobstack.o:Nprint-rtl.o:Nread-rtl.o:Nrtl.o}: ${SRCS:M*.h}
+# Force these to be made absolustly first w/-j
+${OBJS}: ${COMMONHDRS}
+
# Next, make each of the problematic objects depend on only most headers.
# Filter out the headers that would cause problems (and a few more when it
# is inconvenient to filter precisely).
OpenPOWER on IntegriCloud