diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-21 09:40:07 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2022-10-21 09:40:07 +0200 |
commit | e5efed8e25180b9d009edf2a06e5151db107e883 (patch) | |
tree | 80fda359aff5bee7b25e746d35518a6389cd5eca /libbuild2/cc | |
parent | 51068e16c6486a60fa54591972fcca3821341c05 (diff) |
Add clarifying comment
Diffstat (limited to 'libbuild2/cc')
-rw-r--r-- | libbuild2/cc/link-rule.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libbuild2/cc/link-rule.cxx b/libbuild2/cc/link-rule.cxx index 94e885f..a5fa7bc 100644 --- a/libbuild2/cc/link-rule.cxx +++ b/libbuild2/cc/link-rule.cxx @@ -995,11 +995,13 @@ namespace build2 // By default update ad hoc headers/sources during match (see // above). // +#if 1 if (!um) um = (p.is_a (x_src) || p.is_a<c> () || (x_mod != nullptr && p.is_a (*x_mod)) || x_header (p, true)); +#endif if (*um) { @@ -1217,8 +1219,10 @@ namespace build2 { // By default update headers during match (see above). // +#if 1 if (!um) um = hdr; +#endif if (*um) { |