aboutsummaryrefslogtreecommitdiff
path: root/libbuild2/cc
diff options
context:
space:
mode:
Diffstat (limited to 'libbuild2/cc')
-rw-r--r--libbuild2/cc/module.cxx2
-rw-r--r--libbuild2/cc/module.hxx5
2 files changed, 5 insertions, 2 deletions
diff --git a/libbuild2/cc/module.cxx b/libbuild2/cc/module.cxx
index c74f26d..d8365e4 100644
--- a/libbuild2/cc/module.cxx
+++ b/libbuild2/cc/module.cxx
@@ -384,7 +384,7 @@ namespace build2
// Translate x_std value (if any) to the compiler option(s) (if any).
//
- tstd = translate_std (xi, rs, v);
+ tstd = translate_std (xi, tt, rs, v);
}
// config.x.translatable_header
diff --git a/libbuild2/cc/module.hxx b/libbuild2/cc/module.hxx
index d496779..4eca976 100644
--- a/libbuild2/cc/module.hxx
+++ b/libbuild2/cc/module.hxx
@@ -48,7 +48,10 @@ namespace build2
// root scope.
//
virtual strings
- translate_std (const compiler_info&, scope&, const string*) const = 0;
+ translate_std (const compiler_info&,
+ const target_triplet&,
+ scope&,
+ const string*) const = 0;
strings tstd;