aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/compile.hxx
diff options
context:
space:
mode:
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.