diff options
Diffstat (limited to 'build2/cc/compile.cxx')
-rw-r--r-- | build2/cc/compile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build2/cc/compile.cxx b/build2/cc/compile.cxx index 31986ed..d72ad90 100644 --- a/build2/cc/compile.cxx +++ b/build2/cc/compile.cxx @@ -2410,7 +2410,7 @@ namespace build2 case compiler_id::gcc: { s.insert (0, 1, '='); - s.insert (0, cast<string> (f->group->vars[c_module_name])); + s.insert (0, cast<string> ((*f)[c_module_name])); s.insert (0, "-fmodule-map="); break; } |