diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-01 10:49:09 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-08-01 10:49:09 +0200 |
commit | a2cad68fe340a66ad54b93f88e39f97898fc462e (patch) | |
tree | be9033f82e650fe574d0149383121d700568247b /build2/algorithm.cxx | |
parent | a84ff43b183181e0a12c6d5e31c1f366d39ce2fe (diff) |
Reimplement pkg-config generation with more conservative approach for now
Diffstat (limited to 'build2/algorithm.cxx')
-rw-r--r-- | build2/algorithm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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 |