aboutsummaryrefslogtreecommitdiff
path: root/build/target.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-08-14 16:58:20 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-08-14 16:58:20 +0200
commit040ebadfa9e606b56005b80571e7fc714a3f1f2c (patch)
tree8b12a8a44273ec7424c20ade97125b87b2dc9ada /build/target.cxx
parent47bf5cd6a167730ee06a1c7cffeae6540f67dde0 (diff)
Don't short-cut to group_state if recipe is group_recipe
This way we mess up the dependents count.
Diffstat (limited to 'build/target.cxx')
-rw-r--r--build/target.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/build/target.cxx b/build/target.cxx
index 236b729..37cec8c 100644
--- a/build/target.cxx
+++ b/build/target.cxx
@@ -70,8 +70,7 @@ namespace build
// Also reset the target state. If this is a noop recipe, then
// mark the target unchanged so that we don't waste time executing
- // the recipe. If this is a group recipe, then mark the state as
- // coming from the group.
+ // the recipe.
//
raw_state = target_state::unknown;
@@ -79,8 +78,6 @@ namespace build
{
if (*f == &noop_action)
raw_state = target_state::unchanged;
- else if (*f == &group_action)
- raw_state = target_state::group;
}
// This one is tricky: we don't want to reset the dependents count