From a8017ff4b661305a71fe98813d0118b6c3876c52 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 8 Jan 2021 10:22:37 +0200 Subject: Add note --- libbuild2/cc/guess.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libbuild2/cc/guess.cxx') 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; -- cgit v1.1