aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorSteve Passe <fsmp@FreeBSD.org>1997-08-25 21:35:44 +0000
committerSteve Passe <fsmp@FreeBSD.org>1997-08-25 21:35:44 +0000
commit1ecd3f4585a40f0cb6bef8ed660ffbfef944e404 (patch)
tree6c1e528eb7baa620e9fb7f236bfd1818abd68caa /usr.bin/make
parent3faae24ef566ae2827e2042d6abc62931bfce98d (diff)
downloadsrc-1ecd3f4585a40f0cb6bef8ed660ffbfef944e404.tar.gz
src-1ecd3f4585a40f0cb6bef8ed660ffbfef944e404.zip
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
Notes
Notes: svn path=/head/; revision=28746
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 de9588eddde5..84515c4c1271 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':