parallel build
authorAnas Nashif <anas.nashif@intel.com>
Mon, 5 Nov 2012 19:22:40 +0000 (11:22 -0800)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Fri, 2 Jan 2015 10:46:16 +0000 (11:46 +0100)
remake.c

index 138cdc6..fe858ae 100644 (file)
--- 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;