aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/operation.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/operation.cxx')
-rw-r--r--libbuild2/operation.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/operation.cxx b/libbuild2/operation.cxx
index 72b73f9..b7f414e 100644
--- a/libbuild2/operation.cxx
+++ b/libbuild2/operation.cxx
@@ -320,7 +320,7 @@ namespace build2
const target& t (at.as<target> ());
target_state s (j < i
- ? match (a, t, false)
+ ? match_complete (a, t, false)
: target_state::postponed);
switch (s)
{
@@ -510,6 +510,9 @@ namespace build2
{
const target& t (at.as<target> ());
+ // Note that here we call executed_state() directly instead of
+ // execute_complete() since we know there is no need to wait.
+ //
switch ((at.state = t.executed_state (a, false)))
{
case target_state::unknown: