From 6fc0a1001eeb2e54c070f5da457f5ec8919257a6 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Apr 2017 09:40:07 +0200 Subject: Fix bug in target state/override logic --- build2/algorithm.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build2/algorithm.cxx b/build2/algorithm.cxx index a6208d4..c6ff1b5 100644 --- a/build2/algorithm.cxx +++ b/build2/algorithm.cxx @@ -171,7 +171,7 @@ namespace build2 { case target::offset_executed: { - if (a == t.action) + if (t.action == a || t.action > a) { // We don't lock already executed targets. // -- cgit v1.1