aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/rule.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/rule.cxx')
-rw-r--r--libbuild2/rule.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/rule.cxx b/libbuild2/rule.cxx
index dc1c96c..b504dc7 100644
--- a/libbuild2/rule.cxx
+++ b/libbuild2/rule.cxx
@@ -430,9 +430,9 @@ namespace build2
// noop_rule
//
bool noop_rule::
- match (action, target&) const
+ match (action, target& t) const
{
- return true;
+ return !exclude_group_ || !t.is_a<group> ();
}
recipe noop_rule::