diff options
Diffstat (limited to 'build2/algorithm.ixx')
-rw-r--r-- | build2/algorithm.ixx | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/build2/algorithm.ixx b/build2/algorithm.ixx index 19eb7e7..a405c30 100644 --- a/build2/algorithm.ixx +++ b/build2/algorithm.ixx @@ -101,11 +101,7 @@ namespace build2 search_and_match_prerequisites (action a, target& t) { search_and_match_prerequisites ( - a, - t, - a.operation () != clean_id - ? dir_path () - : t.strong_scope ().out_path ()); + a, t, a.operation () != clean_id ? dir_path () : t.dir); } inline void @@ -118,7 +114,7 @@ namespace build2 // through groups since the group target should clean eveything // up. A bit of an optimization. // - search_and_match_prerequisites (a, t, t.strong_scope ().out_path ()); + search_and_match_prerequisites (a, t, t.dir); } target_state |