aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/functions-target-triplet.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-08-24 11:51:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-08-24 11:51:20 +0200
commit3bfd12396f6ad66d2864e9fb5ba8be2e531a4e63 (patch)
tree6dfe3184fd070530f3c708633e591bdffeea0371 /libbuild2/functions-target-triplet.cxx
parentb86c1d8d2e0be140f6854d869e07139ff3c4221c (diff)
Use representation when passing target_triplet as hint
Diffstat (limited to 'libbuild2/functions-target-triplet.cxx')
-rw-r--r--libbuild2/functions-target-triplet.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbuild2/functions-target-triplet.cxx b/libbuild2/functions-target-triplet.cxx
index f1b9f6b..ff9a15d 100644
--- a/libbuild2/functions-target-triplet.cxx
+++ b/libbuild2/functions-target-triplet.cxx
@@ -14,6 +14,7 @@ namespace build2
function_family f (m, "target_triplet");
f["string"] = [](target_triplet t) {return t.string ();};
+ f["representation"] = [](target_triplet t) {return t.representation ();};
// Target triplet-specific overloads from builtins.
//