From 8c637bf3530a92d8e22776e0dfda3df24f21e5d2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 25 Oct 2018 10:56:22 +0200 Subject: Fix race in rule synthesis logic --- build2/rule.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/rule.cxx') diff --git a/build2/rule.cxx b/build2/rule.cxx index fc80816..85f4e36 100644 --- a/build2/rule.cxx +++ b/build2/rule.cxx @@ -116,7 +116,7 @@ namespace build2 // to unchanged. This is an important optimization on which quite a few // places that deal with predominantly static content rely. // - if (!t.has_prerequisites ()) + if (!t.has_group_prerequisites ()) // Group as in match_prerequisites(). return noop_recipe; // Match all the prerequisites. -- cgit v1.1