Disable avx512 when on mingw cross build, as .seh_savexmm build error reports if avx512 is enabled.
Signed-off-by: Leyi Rong <leyi.r...@intel.com> --- config/x86/cross-mingw | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/x86/cross-mingw b/config/x86/cross-mingw index 4c15a7fa2e..48a82b457e 100644 --- a/config/x86/cross-mingw +++ b/config/x86/cross-mingw @@ -11,3 +11,6 @@ system = 'windows' cpu_family = 'x86_64' cpu = 'native' endian = 'little' + +[properties] +c_args = '-mno-avx512f' -- 2.17.1