summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-11-12 20:37:27 +0000
committerphk <phk@FreeBSD.org>2004-11-12 20:37:27 +0000
commit77af06fb506965ec2cd2909ac67d101efa36a2bc (patch)
treeaadbed3744511aba903051c84cc9c0084da47a76 /usr.bin
parent07d725f51d682aa07c10356a610128775be3ced0 (diff)
downloadFreeBSD-src-77af06fb506965ec2cd2909ac67d101efa36a2bc.zip
FreeBSD-src-77af06fb506965ec2cd2909ac67d101efa36a2bc.tar.gz
If -B is specified to get compat mode (as opposed to just not giving
a -j arg which does the same thing), remove the MAKE_JOBS_FIFO environment variable so we decouple any resulting sub-makes from the token pool.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index d5c9694..34d0597 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -188,6 +188,7 @@ rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) {
case 'B':
compatMake = TRUE;
MFLAGS_append("-B", NULL);
+ unsetenv("MAKE_JOBS_FIFO");
break;
case 'P':
usePipes = FALSE;
OpenPOWER on IntegriCloud