summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-06-18 13:39:51 +0200
committerJussi Pakkanen <jussi.pakkanen@mailbox.org>2025-06-20 15:02:06 +0300
commit3d4c9154b21b4414efaa7b3f15b75c7e49596764 (patch)
tree3092afe1ad767680e5a0b136fac387872b285154
parentaa735fb7342c864b5e315c7e22d0d57a6a4337fa (diff)
downloadmeson-3d4c9154b21b4414efaa7b3f15b75c7e49596764.tar.gz
mconf: print global compiler options
Fixes: #14476 Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--mesonbuild/mconf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py
index 6534a7c03..7e6ca7ba7 100644
--- a/mesonbuild/mconf.py
+++ b/mesonbuild/mconf.py
@@ -294,9 +294,9 @@ class Conf:
self.print_options('', build_core_options[None])
self.print_options('Backend options', {k: v for k, v in self.coredata.optstore.items() if self.coredata.optstore.is_backend_option(k)})
self.print_options('Base options', {k: v for k, v in self.coredata.optstore.items() if self.coredata.optstore.is_base_option(k)})
- self.print_options('Compiler options', host_compiler_options.get('', {}))
+ self.print_options('Compiler options', host_compiler_options.get(None, {}))
if show_build_options:
- self.print_options('', build_compiler_options.get('', {}))
+ self.print_options('', build_compiler_options.get(None, {}))
for mod, mod_options in module_options.items():
self.print_options(f'{mod} module options', mod_options)
self.print_options('Directories', dir_options)