aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index 84c236f..5129a40 100644
--- a/build/root.build
+++ b/build/root.build
@@ -2,6 +2,11 @@
# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
+using cxx.guess
+
+if ($force_modules != true && $cxx.id == 'clang')
+ cxx.features.modules = false
+
cxx.std = experimental
using cxx