diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2025-07-05 17:23:00 +0200 |
|---|---|---|
| committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-07-07 20:32:11 +0300 |
| commit | 8e8abba8f59a9bc4f0d4cb35ceddee5b4a8f04cb (patch) | |
| tree | 0e0b5ca5a8a0b65b0cb732d301b98b92439c9e88 /mesonbuild/msetup.py | |
| parent | 27d5ae8a5f6a31d4a330f08e47839955f7111287 (diff) | |
| download | meson-8e8abba8f59a9bc4f0d4cb35ceddee5b4a8f04cb.tar.gz | |
msetup: keep pending options
New languages and subprojects can appear in subsequent configurations.
Subproject options are kept for later now that they are not stored
in pending_options, but compiler options for example are not. Drop
OptionStore.clear_pending so that they are preserved as well.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/msetup.py')
| -rw-r--r-- | mesonbuild/msetup.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mesonbuild/msetup.py b/mesonbuild/msetup.py index 9f30a8e92..e22e0a7bb 100644 --- a/mesonbuild/msetup.py +++ b/mesonbuild/msetup.py @@ -213,8 +213,6 @@ class MesonApp: errstr = ', '.join(errlist) raise MesonException(f'Unknown options: {errstr}') - coredata.optstore.clear_pending() - def _generate(self, env: environment.Environment, capture: bool, vslite_ctx: T.Optional[dict]) -> T.Optional[dict]: # Get all user defined options, including options that have been defined # during a previous invocation or using meson configure. |
