diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-11-03 08:52:30 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-11-03 08:52:30 +0200 |
commit | 552de5b2b5df6b2d41b50d662d65e799d0c876be (patch) | |
tree | 1dd47978b61a6ccae317fcc41b06c51905b91f59 /libbuild2/install | |
parent | 066980729c57e00abc3765053cf3f39e3d223a54 (diff) |
Work around lack of definition for static constexpr
During bootstrap we compile in C++14 where it is not implicitly inline.
Diffstat (limited to 'libbuild2/install')
-rw-r--r-- | libbuild2/install/rule.cxx | 4 |
1 files 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:: |