From 41cad5bba8a718a0403c0578660c60e81c9f46e4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 27 Jun 2016 16:59:09 +0200 Subject: 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} --- build2/b.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/b.cxx') diff --git a/build2/b.cxx b/build2/b.cxx index e7c8721..713b227 100644 --- a/build2/b.cxx +++ b/build2/b.cxx @@ -792,7 +792,7 @@ main (int argc, char* argv[]) bool first (true); for (const variable_override& o: var_ovs) { - auto p (rs.vars.assign (o.ovr)); + auto p (rs.vars.insert (o.ovr)); if (!p.second) { -- cgit v1.1