diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-24 11:51:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2020-08-24 11:51:20 +0200 |
commit | 3bfd12396f6ad66d2864e9fb5ba8be2e531a4e63 (patch) | |
tree | 6dfe3184fd070530f3c708633e591bdffeea0371 /libbuild2/bin | |
parent | b86c1d8d2e0be140f6854d869e07139ff3c4221c (diff) |
Use representation when passing target_triplet as hint
Diffstat (limited to 'libbuild2/bin')
-rw-r--r-- | libbuild2/bin/init.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/bin/init.cxx b/libbuild2/bin/init.cxx index 0d2d9b5..2f1e6db 100644 --- a/libbuild2/bin/init.cxx +++ b/libbuild2/bin/init.cxx @@ -329,7 +329,7 @@ namespace build2 l5 ([&]{trace << "canonical target: '" << t.string () << "'; " << "class: " << t.class_;}); - assert (!hint || s == t.string ()); + assert (!hint || s == t.representation ()); // Also enter as bin.target.{cpu,vendor,system,version,class} // for convenience of access. |