aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/link.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-03-10 09:33:27 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-03-10 09:33:27 +0200
commit3e78b3eea3a95e8ef5bee59a9c85ddfa73c03ab7 (patch)
treee1513f918f55a8f68e55a2ddebe5c21f1ac42502 /build2/cxx/link.cxx
parent39a0e4230d9f79447755e765446f7fe6b897da99 (diff)
Rename cxx.host.* to cxx.target.*
Diffstat (limited to 'build2/cxx/link.cxx')
-rw-r--r--build2/cxx/link.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/build2/cxx/link.cxx b/build2/cxx/link.cxx
index d8b675b..16948b2 100644
--- a/build2/cxx/link.cxx
+++ b/build2/cxx/link.cxx
@@ -221,7 +221,7 @@ namespace build2
return p.target;
scope& rs (*p.scope.root_scope ());
- const string& sys (as<string> (*rs["cxx.host.system"]));
+ const string& sys (as<string> (*rs["cxx.target.system"]));
bool l (p.is_a<lib> ());
const string* ext (l ? nullptr : p.ext); // Only for liba/libso.
@@ -486,7 +486,7 @@ namespace build2
path_target& t (static_cast<path_target&> (xt));
scope& rs (t.root_scope ());
- const string& sys (as<string> (*rs["cxx.host.system"]));
+ const string& sys (as<string> (*rs["cxx.target.system"]));
type lt (link_type (t));
bool so (lt == type::so);
@@ -758,7 +758,7 @@ namespace build2
bool up (execute_prerequisites (a, t, t.mtime ()));
scope& rs (t.root_scope ());
- const string& sys (as<string> (*rs["cxx.host.system"]));
+ const string& sys (as<string> (*rs["cxx.target.system"]));
// Check/update the dependency database.
//