Fix base options not reconfigurable

Fixes #11732
pull/12697/head
Charles Brunet 11 months ago
parent e4bbc630b6
commit 98db3e7a2e
  1. 6
      mesonbuild/coredata.py

@ -985,9 +985,11 @@ class CoreData:
# not differ between them even when they are valid for both.
if subproject and k.is_builtin() and self.options[k.evolve(subproject='', machine=MachineChoice.HOST)].yielding:
continue
# Skip base, compiler, and backend options, they are handled when
# Skip compiler and backend options, they are handled when
# adding languages and setting backend.
if k.type in {OptionType.COMPILER, OptionType.BACKEND, OptionType.BASE}:
if k.type in {OptionType.COMPILER, OptionType.BACKEND}:
continue
if k.type == OptionType.BASE and env.first_invocation:
continue
options[k] = v

Loading…
Cancel
Save