From ae515a16aaadd0321b1ce4310355755b2f3b0629 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 15 Sep 2017 15:49:13 +0200 Subject: [PATCH] Bring back -fno-asynchronous-unwind-tables on MingW --- configure.ac | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index b75c326b..fb7b2ef7 100644 --- a/configure.ac +++ b/configure.ac @@ -244,8 +244,8 @@ AS_CASE([$host_os], AS_CASE([$host_os], [cygwin*|mingw*|msys|pw32*|cegcc*], [ - AX_CHECK_COMPILE_FLAG([-mno-avx512f], [ - [CFLAGS="$CFLAGS -mno-avx512f"] + AX_CHECK_COMPILE_FLAG([-fno-asynchronous-unwind-tables], [ + [CFLAGS="$CFLAGS -fno-asynchronous-unwind-tables"] ]) ]) @@ -460,9 +460,6 @@ return _mm256_movemask_ps(_mm256_cmp_ps(x, y, _CMP_NEQ_OQ)); #ifdef __native_client__ # error NativeClient detected - Avoiding AVX512F opcodes #endif -#ifdef __MINGW32__ -# error MingW detected - Avoiding AVX512F opcodes -#endif #pragma GCC target("avx512f") #include ]], [[