diff options
Diffstat (limited to 'build2/cxx/compile.cxx')
-rw-r--r-- | build2/cxx/compile.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/build2/cxx/compile.cxx b/build2/cxx/compile.cxx index 300fad7..5205fdf 100644 --- a/build2/cxx/compile.cxx +++ b/build2/cxx/compile.cxx @@ -210,7 +210,9 @@ namespace build2 if (dd.expect ("cxx.compile 1") != nullptr) l4 ([&]{trace << "rule mismatch forcing update of " << t;}); - // Then the compiler checksum. + // Then the compiler checksum. Note that here we assume it + // incorporates the (default) target so that if the compiler changes + // but only in what it targets, then the checksum will still change. // if (dd.expect (cast<string> (rs["cxx.checksum"])) != nullptr) l4 ([&]{trace << "compiler mismatch forcing update of " << t;}); |