config: disable AVX512 with MinGW
authorLeyi Rong <leyi.rong@intel.com>
Wed, 27 Jan 2021 14:27:05 +0000 (22:27 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 28 Jan 2021 21:15:10 +0000 (22:15 +0100)
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 <leyi.rong@intel.com>
Tested-by: Pallavi Kadam <pallavi.kadam@intel.com>
Tested-by: David Marchand <david.marchand@redhat.com>
config/x86/cross-mingw

index 4c15a7f..48a82b4 100644 (file)
@@ -11,3 +11,6 @@ system = 'windows'
 cpu_family = 'x86_64'
 cpu = 'native'
 endian = 'little'
+
+[properties]
+c_args = '-mno-avx512f'