summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-05 11:22:40 -0800
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>2015-01-02 11:46:16 +0100
commitad671f0b6f4a26e97bd25a732545d2cb51b3dd6e (patch)
tree717b1e32494c0e5c9ee4f22a71c94abf75db96b5
parent24d40a76076e6422e167e2c675c3bcc4db02084b (diff)
downloadmake-ad671f0b6f4a26e97bd25a732545d2cb51b3dd6e.tar.gz
make-ad671f0b6f4a26e97bd25a732545d2cb51b3dd6e.tar.bz2
make-ad671f0b6f4a26e97bd25a732545d2cb51b3dd6e.zip
parallel build
-rw-r--r--remake.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/remake.c b/remake.c
index 138cdc6..fe858ae 100644
--- a/remake.c
+++ b/remake.c
@@ -300,7 +300,8 @@ update_file (struct file *file, unsigned int depth)
the diagnostics haven't been issued. If we need the diagnostics
then we will have to continue. */
if (!(f->updated && f->update_status > us_none
- && !f->dontcare && f->no_diag))
+ && !f->dontcare && f->no_diag)
+ && f->command_state!=cs_not_started )
{
DBF (DB_VERBOSE, _("Pruning file '%s'.\n"));
return f->command_state == cs_finished ? f->update_status : 0;