From 40863a594372ede117533d5c0970a96d60e34371 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 22 Apr 2021 10:10:34 +0200 Subject: Incorporate project environment checksum into cc::compiler_info cache key --- libbuild2/cc/module.cxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libbuild2/cc/module.cxx') diff --git a/libbuild2/cc/module.cxx b/libbuild2/cc/module.cxx index 98e0451..44f1943 100644 --- a/libbuild2/cc/module.cxx +++ b/libbuild2/cc/module.cxx @@ -154,7 +154,9 @@ namespace build2 // we are now folding *.std options into mode options. // x_info = &build2::cc::guess ( - x, x_lang, move (xc), + x, x_lang, + rs.root_extra->environment_checksum, + move (xc), cast_null (lookup_config (rs, config_x_id)), cast_null (lookup_config (rs, config_x_version)), cast_null (lookup_config (rs, config_x_target)), -- cgit v1.1