]> git.proxmox.com Git - mirror_qemu.git/commit - configure
configure: Add -Werror to avx2, avx512 tests
authorRichard Henderson <richard.henderson@linaro.org>
Mon, 19 Jul 2021 20:01:12 +0000 (10:01 -1000)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 29 Jul 2021 08:15:52 +0000 (10:15 +0200)
commit5b945f23d651a71aa722cc6af84a480d41bc549a
tree1de446a52609c13e4a8de36098ed8de250bee92a
parent14833e24dea49303ebc2464813601054b6cdfcac
configure: Add -Werror to avx2, avx512 tests

When using clang, we get

ERROR: configure test passed without -Werror but failed with -Werror.
       This is probably a bug in the configure script. The failing command
       will be at the bottom of config.log.
       You can run configure with --disable-werror to bypass this check.

What we really want from these two tests is whether the
entire code sequence is supported, including pragmas.
Adding -Werror makes the test properly fail for clang.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210719200112.295316-1-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure