diff options
| author | dsl <dsl@NetBSD.org> | 2007-01-01 21:35:40 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2007-01-01 21:35:40 +0000 |
| commit | 388fdf7f68c5284ca692e6bedb8a008aa73d4efb (patch) | |
| tree | 102abe33d79e89a6f0ae675209b9613ae6ef68ba /usr.bin/make/make.c | |
| parent | d584a8d23a41f997041888bc0ebdc4223a3412fd (diff) | |
Don't force things that have dependencies against .WAIT nodes to be rebuilt.
This is what causes all of ksh to be built every time through.
Diffstat (limited to 'usr.bin/make/make.c')
| -rw-r--r-- | usr.bin/make/make.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/make/make.c b/usr.bin/make/make.c index 5db2d886982..480fb9148e4 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -1,4 +1,4 @@ -/* $NetBSD: make.c,v 1.71 2006/12/21 20:05:37 dsl Exp $ */ +/* $NetBSD: make.c,v 1.72 2007/01/01 21:35:40 dsl Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: make.c,v 1.71 2006/12/21 20:05:37 dsl Exp $"; +static char rcsid[] = "$NetBSD: make.c,v 1.72 2007/01/01 21:35:40 dsl Exp $"; #else #include <sys/cdefs.h> #ifndef lint #if 0 static char sccsid[] = "@(#)make.c 8.1 (Berkeley) 6/6/93"; #else -__RCSID("$NetBSD: make.c,v 1.71 2006/12/21 20:05:37 dsl Exp $"); +__RCSID("$NetBSD: make.c,v 1.72 2007/01/01 21:35:40 dsl Exp $"); #endif #endif /* not lint */ #endif @@ -732,7 +732,7 @@ Make_Update(GNode *cgn) fprintf(debug_file, "- not needed\n"); continue; } - if (mtime == 0) + if (mtime == 0 && !(cgn->type & OP_WAIT)) pgn->flags |= FORCE; /* |
