From a2cad68fe340a66ad54b93f88e39f97898fc462e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 1 Aug 2017 10:49:09 +0200 Subject: Reimplement pkg-config generation with more conservative approach for now --- 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 29bae6d..2ce34e3 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -179,7 +179,7 @@ namespace build2 { case target::offset_executed: { - if (t.action == a || t.action > a) + if (t.action >= a) { // We don't lock already executed targets. // @@ -210,7 +210,7 @@ namespace build2 } else { - assert (t.action > a || a == t.action); + assert (t.action >= a); // Release the lock if already applied for this action. This is // necessary no to confuse execute since otherwise it might see -- cgit v1.1