From 552de5b2b5df6b2d41b50d662d65e799d0c876be Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 3 Nov 2023 08:52:30 +0200 Subject: Work around lack of definition for static constexpr During bootstrap we compile in C++14 where it is not implicitly inline. --- libbuild2/install/rule.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libbuild2/install/rule.cxx b/libbuild2/install/rule.cxx index 29888ae..985f914 100644 --- a/libbuild2/install/rule.cxx +++ b/libbuild2/install/rule.cxx @@ -86,8 +86,8 @@ namespace build2 match_extra&) const { const target& pt (search (t, p)); - return make_pair (is == nullptr || pt.in (*is) ? &pt : nullptr, - match_extra::all_options); + const uint64_t options (match_extra::all_options); // No definition. + return make_pair (is == nullptr || pt.in (*is) ? &pt : nullptr, options); } recipe alias_rule:: -- cgit v1.1