aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-06-02 08:34:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-06-02 08:36:23 +0200
commitb63824f48a0a38ed9a8c4b7306b1af92ccf2135b (patch)
tree21aab00dd77b0221d43b5e4b05bc57e4450e67ba /libbuild2/rule.cxx
parentad7b8477f177355e50b411b7296ae2e392d7a4be (diff)
Redo fallback reverse operation machinery in ad hoc recipes
Diffstat (limited to 'libbuild2/rule.cxx')
-rw-r--r--libbuild2/rule.cxx7
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::