aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/compile-rule.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/build2/cc/compile-rule.cxx b/build2/cc/compile-rule.cxx
index 0ce593e..634a586 100644
--- a/build2/cc/compile-rule.cxx
+++ b/build2/cc/compile-rule.cxx
@@ -3182,7 +3182,8 @@ namespace build2
if (!modules)
{
if (!mi.name.empty () || !mi.imports.empty ())
- fail (relative (src)) << "modules support not enabled/available";
+ fail (relative (src)) << "modules support not available or not "
+ << "enabled";
return;
}