From 6900b21b1180ffa590f3e97d6be75c37707990ca Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 30 Aug 2024 08:11:26 +0200 Subject: 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. --- libbuild2/cc/guess.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libbuild2/cc/guess.hxx') 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). -- cgit v1.1