From 758a50eb1825f2e0c1acd5c61d36bb5b866585b8 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 8 Jun 2020 09:18:11 +0200 Subject: Adjust rule_match name for ad hoc recipes --- libbuild2/rule.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'libbuild2/rule.cxx') 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 s) - : adhoc_rule (l, b), version (v), separator (move (s)), impl (nullptr) + : adhoc_rule ("", l, b), + version (v), + separator (move (s)), + impl (nullptr) { if (v != 1) fail (l) << "unsupported c++ recipe version " << v; -- cgit v1.1