aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/context.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2022-05-23 14:40:07 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2022-05-23 14:40:07 +0200
commit0b672184ef920d2581a0be43d27c25690ee0569d (patch)
tree12fa12ca2899c3dddfb2c996dce76d4d2aa21867 /libbuild2/context.hxx
parent73a9ca5ad8925511354ce294e7b061e0262a1f98 (diff)
Cache build.host value in context
Diffstat (limited to 'libbuild2/context.hxx')
-rw-r--r--libbuild2/context.hxx4
1 files changed, 4 insertions, 0 deletions
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.
//