aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build2/cc/compile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx
index ec71884..681cfc9 100644
--- a/build2/cc/compile.cxx
+++ b/build2/cc/compile.cxx
@@ -3147,7 +3147,7 @@ namespace build2
{
s.insert (0, 1, '=');
s.insert (0, cast<string> (f.vars[c_module_name]));
- s.insert (0, "-fmodule-map=");
+ s.insert (0, "-fmodule-file=");
break;
}
case compiler_id::clang: