diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-10 12:52:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-05-10 12:52:12 +0200 |
commit | e415977b23ea95a833ce1967dac9f8e7fe255334 (patch) | |
tree | 804880f8b14921384bed197e687b9b5ae90850b9 /build2/cc/link-rule.cxx | |
parent | 2b1272f1c94ab1dbaf806af9c02ef866267ffed7 (diff) |
Minor cleanups and clarifications
Diffstat (limited to 'build2/cc/link-rule.cxx')
-rw-r--r-- | build2/cc/link-rule.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/build2/cc/link-rule.cxx b/build2/cc/link-rule.cxx index f3fbaad..b873e40 100644 --- a/build2/cc/link-rule.cxx +++ b/build2/cc/link-rule.cxx @@ -74,7 +74,7 @@ namespace build2 // that X could be C (as in language). We handle this by always checking // for X first. // - // Note also that we treat bmi{} as obj{}. + // Note also that we treat bmi{} as obj{}. @@ MODHDR hbmi{}? // bool seen_x (false), seen_c (false), seen_obj (false), seen_lib (false); @@ -576,6 +576,8 @@ namespace build2 continue; } + // @@ MODHDR: hbmix{} has no objx{} + // binless = binless && !(pt->is_a<objx> () || pt->is_a<bmix> ()); m = 3; @@ -1260,7 +1262,7 @@ namespace build2 if (modules) { - if (pt->is_a<bmix> ()) + if (pt->is_a<bmix> ()) // @@ MODHDR: hbmix{} has no objx{} pt = pt->member; } @@ -2053,7 +2055,7 @@ namespace build2 // if (modules) { - if (pt->is_a<bmix> ()) + if (pt->is_a<bmix> ()) // @@ MODHDR: hbmix{} has no objx{} pt = pt->member; } @@ -2360,7 +2362,7 @@ namespace build2 if (modules) { - if (pt->is_a<bmix> ()) + if (pt->is_a<bmix> ()) // @@ MODHDR: hbmix{} has no objx{} pt = pt->member; } |