summaryrefslogtreecommitdiffstats
path: root/usr.bin/make
diff options
context:
space:
mode:
authorfsmp <fsmp@FreeBSD.org>1997-08-25 21:35:44 +0000
committerfsmp <fsmp@FreeBSD.org>1997-08-25 21:35:44 +0000
commit513dcef16182fdb37e559888a8e095c388427bdf (patch)
tree2d7412365f2b32af7592dcdd8875b4485e541fb7 /usr.bin/make
parent0d4dc945cd94173172f4755a9a1b3f521ebe6ddb (diff)
downloadFreeBSD-src-513dcef16182fdb37e559888a8e095c388427bdf.zip
FreeBSD-src-513dcef16182fdb37e559888a8e095c388427bdf.tar.gz
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
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index de9588e..84515c4 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':
OpenPOWER on IntegriCloud