diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-02 08:34:38 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-06-08 15:43:08 +0200 |
commit | 1346f4cd0d20a5dc7e0471edbbb6ce00f2da5c18 (patch) | |
tree | 25a2b70304520bac33aede420ab2ad7715791d69 /libbuild2/rule.cxx | |
parent | c5feaaf745421f2ecda672585c462cf4c807d25d (diff) |
Redo fallback reverse operation machinery in ad hoc recipes
Diffstat (limited to 'libbuild2/rule.cxx')
-rw-r--r-- | libbuild2/rule.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libbuild2/rule.cxx b/libbuild2/rule.cxx index 8b2b021..49da7cb 100644 --- a/libbuild2/rule.cxx +++ b/libbuild2/rule.cxx @@ -332,11 +332,10 @@ namespace build2 // const dir_path adhoc_rule::recipes_build_dir ("recipes"); - bool adhoc_rule:: - match (action a, target& t, const string& h, match_extra& me, - optional<action> fallback) const + optional<action> adhoc_rule:: + reverse_fallback (action, const target_type&) const { - return !fallback && match (a, t, h, me); + return nullopt; } bool adhoc_rule:: |