aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cxx/init.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx
index 9db5817..01130d7 100644
--- a/build2/cxx/init.cxx
+++ b/build2/cxx/init.cxx
@@ -303,6 +303,10 @@ namespace build2
? "c++-modules"
: "c++-modules-ex") != string::npos)
{
+ // @@ TMP: currently there are some issues in the c++2a mode.
+ //
+ r.back () = "-std=c++17";
+
// Currently defines __cpp_modules=201810 which is said to
// correspond to p1103 (merged modules).
//