aboutsummaryrefslogtreecommitdiff
path: root/build2
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-28 09:40:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-28 09:40:07 +0200
commit6fc0a1001eeb2e54c070f5da457f5ec8919257a6 (patch)
tree0b8d82d622d53cacd372b7899f6070000d5baec0 /build2
parentcf9d75fdd1bb02c53f21ab84f64042ee0ec56a97 (diff)
Fix bug in target state/override logic
Diffstat (limited to 'build2')
-rw-r--r--build2/algorithm.cxx2
1 files changed, 1 insertions, 1 deletions
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.
//