From 549bfc83168f8c19b55f3d76020b530cadddb856 Mon Sep 17 00:00:00 2001 From: Leyi Rong Date: Wed, 27 Jan 2021 22:27:05 +0800 Subject: [PATCH] config: disable AVX512 with MinGW Disable AVX512 when on MinGW cross build, as .seh_savexmm build error reports if AVX512 is enabled: Error: invalid register for .seh_savexmm Signed-off-by: Leyi Rong Tested-by: Pallavi Kadam Tested-by: David Marchand --- 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.20.1