aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-21 13:04:11 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-21 13:04:11 +0200
commitc41e3b85b814e18e3af45dfba0cf79ddb308d5a3 (patch)
tree17569eeae5d456e74e5ec598f3dbf24da5e36ca8 /build2/cc/compile.hxx
parent878681f18930a2457a83e68e8849963c2ae04a0d (diff)
Unset VC's IFCPATH if we are using custom std.* modules
Diffstat (limited to 'build2/cc/compile.hxx')
-rw-r--r--build2/cc/compile.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/cc/compile.hxx b/build2/cc/compile.hxx
index 9570908..58b6e13 100644
--- a/build2/cc/compile.hxx
+++ b/build2/cc/compile.hxx
@@ -56,6 +56,7 @@ namespace build2
private:
struct match_data;
+ using environment = small_vector<const char*, 2>;
void
append_lib_options (const scope&,
@@ -117,7 +118,7 @@ namespace build2
const file&, module_imports&&, sha256&) const;
void
- append_modules (cstrings&, strings&,
+ append_modules (environment&, cstrings&, strings&,
const file&, const match_data&) const;
// Language selection option (for VC) or the value for the -x option.