Revert "Fix base options not reconfigurable"

This reverts commit 98db3e7a2e.
pull/12910/head
Charles Brunet 9 months ago committed by Dylan Baker
parent aee941559c
commit c67a6e1d7c
  1. 6
      mesonbuild/coredata.py

@ -1003,11 +1003,9 @@ 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 compiler and backend options, they are handled when
# Skip base, compiler, and backend options, they are handled when
# adding languages and setting backend.
if k.type in {OptionType.COMPILER, OptionType.BACKEND}:
continue
if k.type == OptionType.BASE and env.first_invocation:
if k.type in {OptionType.COMPILER, OptionType.BACKEND, OptionType.BASE}:
continue
options[k] = v

Loading…
Cancel
Save