aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-06-08 09:18:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-06-08 09:18:11 +0200
commit758a50eb1825f2e0c1acd5c61d36bb5b866585b8 (patch)
treed763465e25a4ee3c1eb921e444bf4909e71f4185 /libbuild2/rule.cxx
parente0ae9b1bebe4cab2e5d8e8e7a61b93632bd083cd (diff)
Adjust rule_match name for ad hoc recipes
Diffstat (limited to 'libbuild2/rule.cxx')
-rw-r--r--libbuild2/rule.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/libbuild2/rule.cxx b/libbuild2/rule.cxx
index f257b62..0df6517 100644
--- a/libbuild2/rule.cxx
+++ b/libbuild2/rule.cxx
@@ -894,7 +894,10 @@ namespace build2
//
adhoc_cxx_rule::
adhoc_cxx_rule (const location& l, size_t b, uint64_t v, optional<string> s)
- : adhoc_rule (l, b), version (v), separator (move (s)), impl (nullptr)
+ : adhoc_rule ("<ad hoc c++ recipe>", l, b),
+ version (v),
+ separator (move (s)),
+ impl (nullptr)
{
if (v != 1)
fail (l) << "unsupported c++ recipe version " << v;