diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-08-30 08:11:26 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-08-30 08:11:26 +0200 |
commit | 6900b21b1180ffa590f3e97d6be75c37707990ca (patch) | |
tree | 663a04b783c83918a13a9e5b3709f5363d3ff954 /libbuild2/cc/guess.hxx | |
parent | 563cc569eee517bb3e7163683b852ba323fab528 (diff) |
Add absolute compiler path to compiler checksum
In particular, this will allow us to use depdb change tracking to also detect
changes to compilation database entries.
Diffstat (limited to 'libbuild2/cc/guess.hxx')
-rw-r--r-- | libbuild2/cc/guess.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libbuild2/cc/guess.hxx b/libbuild2/cc/guess.hxx index 7cbbd87..dfa8aa2 100644 --- a/libbuild2/cc/guess.hxx +++ b/libbuild2/cc/guess.hxx @@ -160,6 +160,9 @@ namespace build2 // checksum will still change. This is currently the case for all the // compilers that we support. // + // And we assume that the checksum incorporates the absolute compiler + // path. This is used to detect compilation database changes. + // // 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). |