aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2021-01-08 10:22:37 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2021-01-08 10:22:37 +0200
commita8017ff4b661305a71fe98813d0118b6c3876c52 (patch)
tree49f798c1edbea85a994e769131cc62cabce7023f
parentf94dfcefe0e52b27326b57f0d2c90f57a3d87b64 (diff)
Add note
-rw-r--r--libbuild2/cc/guess.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/libbuild2/cc/guess.cxx b/libbuild2/cc/guess.cxx
index daa9d9b..9afa29e 100644
--- a/libbuild2/cc/guess.cxx
+++ b/libbuild2/cc/guess.cxx
@@ -2972,6 +2972,13 @@ namespace build2
{
// First check the cache.
//
+ // @@ We currently include config.{cc,x}.[pc]options into the key which
+ // means any project-specific tweaks to these result in a different
+ // key. Perhaps we should assume that any options that can affect the
+ // result of what we are guessing (-m32, -stdlib=, etc) should be
+ // specified as part of the mode? While definitely feels correct,
+ // people will most likely specify these options else where as well.
+ //
string key;
{
sha256 cs;