aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc/guess.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2020-02-03 14:51:43 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2020-02-03 14:51:43 +0200
commit1195f9307c425ed28075a17671c13676b65f4a43 (patch)
tree6014ef54bb736a2949eb1f31a63a95d336fffd9b /libbuild2/cc/guess.hxx
parenta9cadecf15385f93ad3eb6b6b0bdeaafd741b0a7 (diff)
Add header/library search paths from compiler mode to sys_*_dirs
Diffstat (limited to 'libbuild2/cc/guess.hxx')
-rw-r--r--libbuild2/cc/guess.hxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/libbuild2/cc/guess.hxx b/libbuild2/cc/guess.hxx
index b32aaa9..97acbf9 100644
--- a/libbuild2/cc/guess.hxx
+++ b/libbuild2/cc/guess.hxx
@@ -227,12 +227,12 @@ namespace build2
string c_stdlib;
string x_stdlib;
- // System library/header/module search paths, if extracted at the guess
- // stage.
+ // System library/header/module search paths and number of leading mode
+ // entries, if extracted at the guess stage.
//
- optional<dir_paths> sys_lib_dirs;
- optional<dir_paths> sys_inc_dirs;
- optional<dir_paths> sys_mod_dirs;
+ optional<pair<dir_paths, size_t>> sys_lib_dirs;
+ optional<pair<dir_paths, size_t>> sys_inc_dirs;
+ optional<pair<dir_paths, size_t>> sys_mod_dirs;
};
// In a sense this is analagous to the language standard which we handle