aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/common.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-12-04 12:41:32 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-12-04 12:41:32 +0200
commit398134d2b4d362f857de5d2c94942e919d0bc534 (patch)
tree03c5e1ce206a477fe41d344dae51b48aee73666b /build2/cc/common.hxx
parent2c8294b069f5df30d281e0f4f580f6f313a50eb2 (diff)
Implement better cross-hinting between c-family modules
Diffstat (limited to 'build2/cc/common.hxx')
-rw-r--r--build2/cc/common.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/build2/cc/common.hxx b/build2/cc/common.hxx
index ba14471..ad550e1 100644
--- a/build2/cc/common.hxx
+++ b/build2/cc/common.hxx
@@ -34,6 +34,11 @@ namespace build2
const char* x_default; // Compiler default ("gcc", "g++").
const char* x_pext; // Preprocessed source extension (".i", ".ii").
+ // Array of modules that can hint us the toolchain, terminate with
+ // NULL.
+ //
+ const char* const* x_hinters;
+
const variable& config_x;
const variable& config_x_poptions;
const variable& config_x_coptions;