Skip to content

Commit

Permalink
mconf: only print correct options in the correct sections
Browse files Browse the repository at this point in the history
A predicate in two comprehensions was dropped, in what looks like a
rebase error on my part. With the predicate added things work correctly.

Fixes: #8344
  • Loading branch information
dcbaker authored and jpakkane committed Feb 17, 2021
1 parent 10d94a1 commit d5238ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesonbuild/mconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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('', {}))
Expand Down

0 comments on commit d5238ba

Please sign in to comment.