From b8fffe166dee826100722fefefdcf6dd73bd194f Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Sat, 10 May 2014 16:39:00 +0000 Subject: [PATCH] Sprinkle a few more .WAITs into the mix after csu, libc, msun and the early built libraries. This should be sufficient for most cases and has eliminated the issues I've seen with high -j builds. Races likely still remain, but this knocks the problem down a notch. --- lib/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile index de87cbaa8560..51abfcadcdb0 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -31,8 +31,12 @@ # Except it appears bind needs to be compiled last SUBDIR_ORDERED= ${_csu} \ + .WAIT \ libc \ libc_nonshared \ + .WAIT \ + msun \ + .WAIT \ libbsm \ libauditd \ libutil \ @@ -45,7 +49,6 @@ SUBDIR_ORDERED= ${_csu} \ ${_libiconv_modules} \ libkvm \ ${_libldns} \ - msun \ libmd \ ncurses \ ${_libnetgraph} \ @@ -62,6 +65,7 @@ SUBDIR_ORDERED+= libcom_err .endif SUBDIR= ${SUBDIR_ORDERED} \ + .WAIT \ libalias \ libarchive \ ${_libatm} \