aboutsummaryrefslogtreecommitdiff
path: root/build2/algorithm.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r--build2/algorithm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx
index 8f555dd..0dca9cc 100644
--- a/build2/algorithm.cxx
+++ b/build2/algorithm.cxx
@@ -706,7 +706,7 @@ namespace build2
{
const target* m (ts[i]);
- if (m == nullptr)
+ if (m == nullptr || marked (m))
continue;
match_async (a, *m, target::count_busy (), t.task_count);
@@ -720,7 +720,7 @@ namespace build2
{
const target* m (ts[i]);
- if (m == nullptr)
+ if (m == nullptr || marked (m))
continue;
match (a, *m);