From 44e27fb5a54bc95af5f9533cd5c1a85eb532ca90 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 12 Jun 2017 11:56:16 +0200 Subject: Fix couple of deadly bugs --- build2/cc/compile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build2/cc/compile.cxx') 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 (f->group->vars[c_module_name])); + s.insert (0, cast ((*f)[c_module_name])); s.insert (0, "-fmodule-map="); break; } -- cgit v1.1