Skip to content

Commit 3d4c915

Browse files
bonzinijpakkane
authored andcommitted
mconf: print global compiler options
Fixes: mesonbuild#14476 Signed-off-by: Paolo Bonzini <[email protected]>
1 parent aa735fb commit 3d4c915

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mesonbuild/mconf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,9 @@ def print_default_values_warning() -> None:
294294
self.print_options('', build_core_options[None])
295295
self.print_options('Backend options', {k: v for k, v in self.coredata.optstore.items() if self.coredata.optstore.is_backend_option(k)})
296296
self.print_options('Base options', {k: v for k, v in self.coredata.optstore.items() if self.coredata.optstore.is_base_option(k)})
297-
self.print_options('Compiler options', host_compiler_options.get('', {}))
297+
self.print_options('Compiler options', host_compiler_options.get(None, {}))
298298
if show_build_options:
299-
self.print_options('', build_compiler_options.get('', {}))
299+
self.print_options('', build_compiler_options.get(None, {}))
300300
for mod, mod_options in module_options.items():
301301
self.print_options(f'{mod} module options', mod_options)
302302
self.print_options('Directories', dir_options)

0 commit comments

Comments
 (0)