aboutsummaryrefslogtreecommitdiff
path: root/build2/bin
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-02-02 15:35:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-02-13 12:42:41 +0200
commit63f6a8256e3f9fb47cb941be63baa70e2be48d3b (patch)
treed2799d1d605a27fa0a13d63f974f26fa78306e36 /build2/bin
parentd263455d5ac0d87541144dd7a37eb6255b721a89 (diff)
Implement target_set locking, including extension update
Diffstat (limited to 'build2/bin')
-rw-r--r--build2/bin/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/bin/rule.cxx b/build2/bin/rule.cxx
index 648c8b6..c9e8b3e 100644
--- a/build2/bin/rule.cxx
+++ b/build2/bin/rule.cxx
@@ -75,7 +75,7 @@ namespace build2
if (a)
{
if (t.a == nullptr)
- t.a = &search<liba> (t.dir, t.out, t.name, nullopt, nullptr);
+ t.a = &search<liba> (t.dir, t.out, t.name, nullptr, nullptr);
match_only (ml, act, *t.a);
}
@@ -83,7 +83,7 @@ namespace build2
if (s)
{
if (t.s == nullptr)
- t.s = &search<libs> (t.dir, t.out, t.name, nullopt, nullptr);
+ t.s = &search<libs> (t.dir, t.out, t.name, nullptr, nullptr);
match_only (ml, act, *t.s);
}