aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-07-21 14:19:17 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-07-21 14:19:17 +0200
commit427d52675678b4a3c1dc4da1ea8ded971bb93c46 (patch)
treedcb5d692b92ee7cf40f0420afd40fddacfa9b9c4
parentc41e3b85b814e18e3af45dfba0cf79ddb308d5a3 (diff)
Adjust GCC module option name (-fmodule-file)
-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: