[v2,1/2] config: disable avx512 on mingw cross build

Message ID 20210127084745.73116-2-leyi.rong@intel.com (mailing list archive)
State Superseded, archived
Headers
Series fix mingw build error |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Leyi Rong Jan. 27, 2021, 8:47 a.m. UTC
  Disable avx512 when on mingw cross build, as .seh_savexmm
build error reports if avx512 is enabled.

Signed-off-by: Leyi Rong <leyi.rong@intel.com>
---
 config/x86/cross-mingw | 3 +++
 1 file changed, 3 insertions(+)
  

Patch

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'