From 3bfd12396f6ad66d2864e9fb5ba8be2e531a4e63 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 24 Aug 2020 11:51:20 +0200 Subject: Use representation when passing target_triplet as hint --- libbuild2/functions-target-triplet.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'libbuild2/functions-target-triplet.cxx') 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. // -- cgit v1.1