From db8336a686a85f0e458acb2d5f1ad442585bfc9a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 1 Oct 2021 11:05:49 +0200 Subject: Add notion of internal scope, translate external -I to -isystem or equivalent --- libbuild2/cc/module.hxx | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libbuild2/cc/module.hxx') diff --git a/libbuild2/cc/module.hxx b/libbuild2/cc/module.hxx index e21fb9e..5c68482 100644 --- a/libbuild2/cc/module.hxx +++ b/libbuild2/cc/module.hxx @@ -61,6 +61,11 @@ namespace build2 string env_checksum; // Environment checksum (also in x.path). + // Cached x.internal.scope value. + // + const string* internal_scope = nullptr; + const scope* internal_scope_current = nullptr; + // Temporary storage for data::sys_*_dirs_*. // size_t sys_lib_dirs_mode; -- cgit v1.1