diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 5233d888c46b..9b2f5b650b05 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -216,8 +216,8 @@ def print_default_values_warning(): self.print_options('Core options', host_core_options['']) if show_build_options: self.print_options('', build_core_options['']) - self.print_options('Backend options', {str(k): v for k, v in self.coredata.options.items()}) - self.print_options('Base options', {str(k): v for k, v in self.coredata.options.items()}) + self.print_options('Backend options', {str(k): v for k, v in self.coredata.options.items() if k.is_backend()}) + self.print_options('Base options', {str(k): v for k, v in self.coredata.options.items() if k.is_base()}) self.print_options('Compiler options', host_compiler_options.get('', {})) if show_build_options: self.print_options('', build_compiler_options.get('', {}))