]> 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)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Oct 2024 10:32:17 +0000 (12:32 +0200)
commit8db4e0f92e83fd80b6609439440b303ddded7ad8
tree179cdcf32f0da442eb67bc47846ca995efc82c5c
parent6ae8c5382b2396d394e135c2c6d3742d11c6d0c2
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>
meson.build