]> git.ipfire.org Git - thirdparty/qemu.git/commit
meson: ensure -mcx16 is passed when detecting ATOMIC128
authorPaolo Bonzini <pbonzini@redhat.com>
Sun, 6 Oct 2024 07:44:00 +0000 (09:44 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Mon, 14 Oct 2024 17:58:53 +0000 (20:58 +0300)
commit997f8d5c2b5ea4d1f07976ed54b944d6cdcdf2b6
tree8b7f1a796bd9e56f99d747decc6acf2bf1ddd7aa
parent22359e0e6ee4ddc0ed1bfe6f8a02d81fdb13693b
meson: ensure -mcx16 is passed when detecting ATOMIC128

Moving -mcx16 out of CPU_CFLAGS caused the detection of ATOMIC128 to
fail, because flags have to be specified by hand in cc.compiles and
cc.links invocations (why oh why??).

Ensure that these tests enable all the instruction set extensions that
will be used to build the emulators.

Fixes: c2bf2ccb266 ("configure: move -mcx16 flag out of CPU_CFLAGS", 2024-05-24)
Reported-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Cc: qemu-stable@nongnu.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
(cherry picked from commit 8db4e0f92e83fd80b6609439440b303ddded7ad8)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
meson.build