aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/init.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/init.cxx')
-rw-r--r--libbuild2/cc/init.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/init.cxx b/libbuild2/cc/init.cxx
index 6791190..bb50d07 100644
--- a/libbuild2/cc/init.cxx
+++ b/libbuild2/cc/init.cxx
@@ -304,7 +304,7 @@ namespace build2
// Note that all these variables have already been registered.
//
h.assign ("config.bin.target") =
- cast<target_triplet> (rs["cc.target"]).string ();
+ cast<target_triplet> (rs["cc.target"]).representation ();
if (auto l = extra.hints["config.bin.pattern"])
h.assign ("config.bin.pattern") = cast<string> (l);