On Thu, 29 Dec 2022 11:41:22 +0100
Thomas Huth <[email protected]> wrote:
> I'm now seeing changes to scripts/meson-buildoptions.sh after
> rebuilding QEMU ... looks like you likely forgot to update that file
> with the automatic update after changing meson_options.txt ?
Ah, there seems to be another couple of unrelated missing updates to
scripts/meson-buildoptions.sh.
`Makefile` seems to rely on modification dates of files in the source
tree, but git does not track those.
git clone ...
mkdir build
./configure ...
make update-buildoptions # Does nothing
touch ../meson_options.txt
make update-buildoptions # Actually makes changes
Also, AFAIU the `update-buildoptions` target is not available in ninja.
However maybe this is not a bug since the doc says to use make.
Anyway, patch coming soon!
--
Alessandro Di Federico
rev.ng Labs