From 5c3982d9d2dbe775b9876f1c48e865012bacbe40 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 22 Oct 2023 12:34:44 +0200 Subject: WIP: add options to match_rule(), match_recipe() --- libbuild2/algorithm.cxx | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'libbuild2/algorithm.cxx') diff --git a/libbuild2/algorithm.cxx b/libbuild2/algorithm.cxx index 88aec85..a414356 100644 --- a/libbuild2/algorithm.cxx +++ b/libbuild2/algorithm.cxx @@ -1151,13 +1151,11 @@ namespace build2 { if (r.second != target_state::failed) { - // Note: in particular, this makes sure we will never re-lock this - // member if already applied/executed. + // Note: in particular, passing all_options makes sure we will + // never re-lock this member if already applied/executed. // - s.match_extra.cur_options = match_extra::all_options; - match_inc_dependents (a, g); - match_recipe (l, group_recipe); + match_recipe (l, group_recipe, match_extra::all_options); // Note: no need to call match_posthoc() since an ad hoc member // has no own prerequisites and the group's ones will be matched -- cgit v1.1