aboutsummaryrefslogtreecommitdiff
path: root/build2/cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-08-30 11:51:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-08-30 11:56:01 +0200
commit909bbc79fd2dc1d3a36e3109ba32a22e162b2b7f (patch)
tree2f192433224b4887a58e0b22e715d91178e9a546 /build2/cxx
parent44d0adb806b3238a79d71ecea53dce7ba6807d8e (diff)
Switch to -fmodule-file=<name>=<file>, requires Clang 6.0/trunk
Diffstat (limited to 'build2/cxx')
-rw-r--r--build2/cxx/init.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/build2/cxx/init.cxx b/build2/cxx/init.cxx
index 4ec2894..5bd14ee 100644
--- a/build2/cxx/init.cxx
+++ b/build2/cxx/init.cxx
@@ -171,14 +171,14 @@ namespace build2
}
case compiler_id::clang:
{
- // Enable starting with Clang 5.0.0.
+ // Enable starting with Clang 6.0.0.
//
// Note that we are using Apple to vanilla Clang version re-
// map from above so may need to update things there as well.
//
// Also see Clang modules support hack in cc::compile.
//
- if (mj >= 5)
+ if (mj >= 6)
{
r.push_back ("-D__cpp_modules=201704"); // p0629r0
r.push_back ("-fmodules-ts");