diff options
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:: |