aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/root.build3
-rw-r--r--buildfile3
2 files changed, 3 insertions, 3 deletions
diff --git a/build/root.build b/build/root.build
index cfbcda9..9f670f8 100644
--- a/build/root.build
+++ b/build/root.build
@@ -6,7 +6,8 @@ cxx.std = experimental
using cxx
-#assert $cxx.features.modules 'c++ compiler does not support modules'
+if! $cxx.features.modules
+ warn 'c++ compiler does not support modules'
mxx{*}: extension = mxx
cxx{*}: extension = cxx
diff --git a/buildfile b/buildfile
index 26bd1b8..6ec4a5d 100644
--- a/buildfile
+++ b/buildfile
@@ -6,8 +6,7 @@
# we have used headers (i.e., whatever object code generated from those headers
# would have ended up in each executable/library).
#
-./: liba{std-modules} tests/ doc{INSTALL LICENSE NEWS README version} \
- file{manifest}
+./: tests/ doc{INSTALL LICENSE NEWS README version} file{manifest}
doc{version}: file{manifest} # Generated by the version module.
doc{version}: dist = true