aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/algorithm.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-10-22 12:34:44 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-10-26 13:29:24 +0200
commit5c3982d9d2dbe775b9876f1c48e865012bacbe40 (patch)
treed02de19d51e391ef55d90a7e3c0638128c6cb09a /libbuild2/algorithm.cxx
parent668d521db19d35cfe8ea6ae0c0de3668bb216c76 (diff)
WIP: add options to match_rule(), match_recipe()
Diffstat (limited to 'libbuild2/algorithm.cxx')
-rw-r--r--libbuild2/algorithm.cxx8
1 files changed, 3 insertions, 5 deletions
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