From 34e5a2da18f76c7d7de79a5c12b0e85ee89c4095 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 21 Jul 2015 18:20:33 +0200 Subject: Fix postponed re-examination logic Now postponed takes precedence over changed. --- build/operation.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'build/operation.cxx') diff --git a/build/operation.cxx b/build/operation.cxx index cff0802..61111fe 100644 --- a/build/operation.cxx +++ b/build/operation.cxx @@ -131,7 +131,6 @@ namespace build { case target_state::postponed: { - info << diag_doing (a, t) << " is postponed"; psp.push_back (t); break; } @@ -163,7 +162,7 @@ namespace build for (target& t: psp) { if (t.state () == target_state::postponed) - execute_direct (a, t); // Try again, now ignoring the execution mode. + execute (a, t); // Re-examine the state. switch (t.state ()) { -- cgit v1.1