From 0b672184ef920d2581a0be43d27c25690ee0569d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 23 May 2022 14:40:07 +0200 Subject: Cache build.host value in context --- libbuild2/context.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libbuild2/context.hxx') diff --git a/libbuild2/context.hxx b/libbuild2/context.hxx index 6eb85f7..ad7fdff 100644 --- a/libbuild2/context.hxx +++ b/libbuild2/context.hxx @@ -390,6 +390,10 @@ namespace build2 variable_override_cache& global_override_cache; const strings& global_var_overrides; + // Cached values (from global scope). + // + const target_triplet* build_host; // build.host + // Cached variables. // -- cgit v1.1