diff options
Diffstat (limited to 'build2/target.cxx')
-rw-r--r-- | build2/target.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/target.cxx b/build2/target.cxx index 4d4fe2a..d64b0be 100644 --- a/build2/target.cxx +++ b/build2/target.cxx @@ -66,6 +66,8 @@ namespace build2 action = a; recipe_ = move (r); + raw_state = target_state::unknown; + // If this is a noop recipe, then mark the target unchanged so that we // don't waste time executing the recipe. // @@ -86,7 +88,6 @@ namespace build2 reset (action_type) { prerequisite_targets.clear (); - raw_state = target_state::unknown; } group_view target:: |