diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2021-02-16 12:18:51 -0800 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-02-17 14:46:48 +0200 |
commit | d5238baa450d1c55b838090ab50965a1ae6692a1 (patch) | |
tree | cb39b760d631b54d940887fe7437f902210d32b9 | |
parent | 10d94a12b85ba19dc2bcfc6296632eaf74f5d4f0 (diff) | |
download | meson-d5238baa450d1c55b838090ab50965a1ae6692a1.zip meson-d5238baa450d1c55b838090ab50965a1ae6692a1.tar.gz meson-d5238baa450d1c55b838090ab50965a1ae6692a1.tar.bz2 |
mconf: only print correct options in the correct sections
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
-rw-r--r-- | mesonbuild/mconf.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/mconf.py b/mesonbuild/mconf.py index 5233d88..9b2f5b6 100644 --- a/mesonbuild/mconf.py +++ b/mesonbuild/mconf.py @@ -216,8 +216,8 @@ class Conf: 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('', {})) |