From 6234a326569041cc2f3fa667c6f70402c056237f Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Tue, 9 Oct 2018 10:31:59 +0200 Subject: [PATCH] Use cygwin compilation workaround for avx512 on msys2/mingw64 as well --- Makefile.x86_64 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.x86_64 b/Makefile.x86_64 index f831b5040..f2647fb7d 100644 --- a/Makefile.x86_64 +++ b/Makefile.x86_64 @@ -15,6 +15,11 @@ FCOMMON_OPT += -march=skylake-avx512 ifeq ($(OSNAME), CYGWIN_NT) CCOMMON_OPT += -fno-asynchronous-unwind-tables endif +ifeq ($(OSNAME), WINNT) +ifeq ($(C_COMPILER), GCC) +CCOMMON_OPT += -fno-asynchronous-unwind-tables +endif +endif endif endif