From 248b79eba58d88766c6fe3fb87f8dfda5f86a615 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