From 909bbc79fd2dc1d3a36e3109ba32a22e162b2b7f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 30 Aug 2017 11:51:45 +0200 Subject: Switch to -fmodule-file==, requires Clang 6.0/trunk --- build2/cxx/init.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build2/cxx') 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"); -- cgit v1.1