aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/common.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc/common.cxx')
-rw-r--r--libbuild2/cc/common.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/libbuild2/cc/common.cxx b/libbuild2/cc/common.cxx
index 976127f..a320626 100644
--- a/libbuild2/cc/common.cxx
+++ b/libbuild2/cc/common.cxx
@@ -397,7 +397,9 @@ namespace build2
{
// See link_rule for details.
//
- const target* g ((pt.include & 4) != 0 ? f->group : nullptr);
+ const target* g ((pt.include & include_group) != 0
+ ? f->group
+ : nullptr);
if (sysd == nullptr) find_sysd ();
if (!li) find_linfo ();