Bring back -fno-asynchronous-unwind-tables on MingW

This commit is contained in:
Frank Denis 2017-09-15 15:49:13 +02:00
parent 3df3fabb87
commit ae515a16aa

View File

@ -244,8 +244,8 @@ AS_CASE([$host_os],
AS_CASE([$host_os], AS_CASE([$host_os],
[cygwin*|mingw*|msys|pw32*|cegcc*], [ [cygwin*|mingw*|msys|pw32*|cegcc*], [
AX_CHECK_COMPILE_FLAG([-mno-avx512f], [ AX_CHECK_COMPILE_FLAG([-fno-asynchronous-unwind-tables], [
[CFLAGS="$CFLAGS -mno-avx512f"] [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__ #ifdef __native_client__
# error NativeClient detected - Avoiding AVX512F opcodes # error NativeClient detected - Avoiding AVX512F opcodes
#endif #endif
#ifdef __MINGW32__
# error MingW detected - Avoiding AVX512F opcodes
#endif
#pragma GCC target("avx512f") #pragma GCC target("avx512f")
#include <immintrin.h> #include <immintrin.h>
]], [[ ]], [[