aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx/guess
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cxx/guess')
-rw-r--r--build2/cxx/guess5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/cxx/guess b/build2/cxx/guess
index 0588523..63858ad 100644
--- a/build2/cxx/guess
+++ b/build2/cxx/guess
@@ -86,6 +86,11 @@ namespace build2
// common cases, such as an upgrade to a new version or a configuration
// change.
//
+ // Note that we assume the checksum incorporates the (default) target so
+ // that if the compiler changes but only in what it targets, then the
+ // checksum will still change. This is currently the case for all the
+ // compilers that we support.
+ //
// The target is the compiler's traget architecture triplet. Note that
// unlike all the preceding fields, this one takes into account the
// compile options (e.g., -m32).