From 1ecd3f4585a40f0cb6bef8ed660ffbfef944e404 Mon Sep 17 00:00:00 2001 From: Steve Passe Date: Mon, 25 Aug 1997 21:35:44 +0000 Subject: [PATCH] Make explicit '-B' option propigate to submakes. No one has said this would be a bad thing, so given the dearth of comments I decided to add it, as its an important step towards getting "make world" 'parallel-ized'. Reviewed by: silence Submitted by: nnd@itfs.nsk.su --- usr.bin/make/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index de9588eddde..84515c4c127 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -47,7 +47,7 @@ static const char copyright[] = static char sccsid[] = "@(#)main.c 8.3 (Berkeley) 3/19/94"; #endif static const char rcsid[] = - "$Id: main.c,v 1.1 1997/08/13 23:36:11 smp Exp smp $"; + "$Id: main.c,v 1.20 1997/08/14 19:24:11 fsmp Exp $"; #endif /* not lint */ /*- @@ -190,6 +190,7 @@ rearg: while((c = getopt(argc, argv, OPTFLAGS)) != -1) { break; case 'B': compatMake = TRUE; + Var_Append(MAKEFLAGS, "-B", VAR_GLOBAL); break; #ifdef REMOTE case 'L':