aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/common.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/common.cxx')
-rw-r--r--libbuild2/cc/common.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/common.cxx b/libbuild2/cc/common.cxx
index a1bee8c..c7ca7bc 100644
--- a/libbuild2/cc/common.cxx
+++ b/libbuild2/cc/common.cxx
@@ -855,8 +855,8 @@ namespace build2
if (s != nullptr) lt->s = s;
}
- target_lock al (a != nullptr ? lock (act, *a, false) : target_lock ());
- target_lock sl (s != nullptr ? lock (act, *s, false) : target_lock ());
+ target_lock al (a != nullptr ? lock (act, *a, true) : target_lock ());
+ target_lock sl (s != nullptr ? lock (act, *s, true) : target_lock ());
if (al && al.offset == target::offset_matched)
{