Skip to content

Commit

Permalink
mconf: Fix printing options when there is no compiler/project options
Browse files Browse the repository at this point in the history
  • Loading branch information
xclaesse authored and jpakkane committed Oct 22, 2019
1 parent dea2c09 commit c6b512e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mesonbuild/mconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,12 @@ def insert_build_prefix(k):
self.print_options('', {insert_build_prefix(k): o for k, o in self.coredata.builtins_per_machine.build.items()})
self.print_options('Backend options', self.coredata.backend_options)
self.print_options('Base options', self.coredata.base_options)
self.print_options('Compiler options', host_compiler_options[''])
self.print_options('Compiler options', host_compiler_options.get('', {}))
if show_build_options:
self.print_options('', build_compiler_options[''])
self.print_options('', build_compiler_options.get('', {}))
self.print_options('Directories', dir_options)
self.print_options('Testing options', test_options)
self.print_options('Project options', project_options[''])
self.print_options('Project options', project_options.get('', {}))
for subproject in sorted(self.all_subprojects):
if subproject == '':
continue
Expand Down

0 comments on commit c6b512e

Please sign in to comment.