aboutsummaryrefslogtreecommitdiff
path: root/build2/variable.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-06-27 16:59:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-06-27 16:59:09 +0200
commit41cad5bba8a718a0403c0578660c60e81c9f46e4 (patch)
tree7eebba42dac307fdfcf600f5f6527afe0c0f4fea /build2/variable.cxx
parent34cc74df52ed129bffeb7b6fcf11f05c222550ba (diff)
Add config.bin.target var/hint, use to decide libso{} install mode
Normally the user doesn't need to specify config.bin.target explicitly since the cxx module will hint it. We now also have the whole set of target's components: bin.target.{cpu,vendor,system,version,class}
Diffstat (limited to 'build2/variable.cxx')
-rw-r--r--build2/variable.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/variable.cxx b/build2/variable.cxx
index fdee0dd..17a9d52 100644
--- a/build2/variable.cxx
+++ b/build2/variable.cxx
@@ -694,7 +694,7 @@ namespace build2
}
pair<reference_wrapper<value>, bool> variable_map::
- assign (const variable& var)
+ insert (const variable& var)
{
auto r (m_.emplace (var, value (var.type)));
value& v (r.first->second);