aboutsummaryrefslogtreecommitdiff
path: root/build2/cc/gcc.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'build2/cc/gcc.cxx')
-rw-r--r--build2/cc/gcc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/gcc.cxx b/build2/cc/gcc.cxx
index b5dd236..7f52a91 100644
--- a/build2/cc/gcc.cxx
+++ b/build2/cc/gcc.cxx
@@ -38,7 +38,7 @@ namespace build2
args.push_back (xc.recall_string ());
append_options (args, rs, c_coptions);
append_options (args, rs, x_coptions);
- if (!tstd.empty ()) args.push_back (tstd.c_str ());
+ append_options (args, tstd);
append_options (args, rs, c_loptions);
append_options (args, rs, x_loptions);
args.push_back ("-print-search-dirs");