aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-02-08 14:33:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-02-09 10:19:46 +0200
commit50de0d1dbdccf95722e229dd1728a00ee661412b (patch)
treed805575808b2b4be5a4948237951d933f6bba2bc /libbuild2/cc
parent9689e2bafcf9af511df1f357aa3f6ec8545d0010 (diff)
Improve comments
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/link-rule.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx
index 551b243..34fd910 100644
--- a/libbuild2/cc/link-rule.cxx
+++ b/libbuild2/cc/link-rule.cxx
@@ -912,14 +912,16 @@ namespace build2
pts.push_back (prerequisite_target (nullptr, pi));
const target*& pt (pts.back ());
- if (pi != include_type::normal) // Skip excluded and ad hoc.
+ // Skip excluded and ad hoc on this pass.
+ //
+ if (pi != include_type::normal)
continue;
// Mark:
// 0 - lib
// 1 - src
// 2 - mod
- // 3 - obj/bmi and also lib not to be cleaned
+ // 3 - obj/bmi and also lib not to be cleaned (and other stuff)
//
uint8_t m (0);
@@ -1069,7 +1071,8 @@ namespace build2
{
// @@ Temporary hack until we get the default outer operation
// for update. This allows operations like test and install to
- // skip such tacked on stuff.
+ // skip such tacked on stuff. @@ This doesn't feel temporary
+ // anymore...
//
// Note that ad hoc inputs have to be explicitly marked with the
// include=adhoc prerequisite-specific variable.