diff options
| author | christos <christos@NetBSD.org> | 2012-05-10 19:53:26 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2012-05-10 19:53:26 +0000 |
| commit | f42ff4aecb0ceaa6fcda090364dfb91cc8d07d43 (patch) | |
| tree | 5c3db7ff54413d9764844d593af61cb970c2fe0f /usr.bin/make/make.c | |
| parent | 504fa22e27eb199ab59cd287755698bc24c2989e (diff) | |
Don't use the cache when building nodes that might have changed since the
last exec.
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 704718c200e..b51f400f3fa 100644 --- a/usr.bin/make/make.c +++ b/usr.bin/make/make.c @@ -1,4 +1,4 @@ -/* $NetBSD: make.c,v 1.85 2012/04/07 18:29:08 christos Exp $ */ +/* $NetBSD: make.c,v 1.86 2012/05/10 19:53:26 christos Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1993 @@ -69,14 +69,14 @@ */ #ifndef MAKE_NATIVE -static char rcsid[] = "$NetBSD: make.c,v 1.85 2012/04/07 18:29:08 christos Exp $"; +static char rcsid[] = "$NetBSD: make.c,v 1.86 2012/05/10 19:53:26 christos 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.85 2012/04/07 18:29:08 christos Exp $"); +__RCSID("$NetBSD: make.c,v 1.86 2012/05/10 19:53:26 christos Exp $"); #endif #endif /* not lint */ #endif @@ -221,7 +221,7 @@ Make_OODate(GNode *gn) * doesn't depend on their modification time... */ if ((gn->type & (OP_JOIN|OP_USE|OP_USEBEFORE|OP_EXEC)) == 0) { - (void)Dir_MTime(gn, 0); + (void)Dir_MTime(gn, 1); if (DEBUG(MAKE)) { if (gn->mtime != 0) { fprintf(debug_file, "modified %s...", Targ_FmtTime(gn->mtime)); |
