From d52de69d635ce3fc840fc15b9db4f395d0763aed Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 8 Jun 2017 18:51:45 +0200 Subject: Implement rule chaining for modules --- build2/algorithm.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/algorithm.cxx') 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); -- cgit v1.1