aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbuild2/target.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/target.hxx b/libbuild2/target.hxx
index 8c7ccee..9e21d7a 100644
--- a/libbuild2/target.hxx
+++ b/libbuild2/target.hxx
@@ -1399,7 +1399,7 @@ namespace build2
decl,
t));
- return pair<target&, bool> (p.first, p.second);
+ return pair<target&, bool> (p.first, p.second.owns_lock ()); // Clang 3.7
}
// Note that the following versions always enter implied targets.