From 73478664d4fb01f93d1810e85e1b7a499288b5bd Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 6 Aug 2018 16:40:32 +0200 Subject: [PATCH] Add workaround for avx512 compilations on Cygwin fixes #1708 --- Makefile.x86_64 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.x86_64 b/Makefile.x86_64 index 677c05d93a..f831b50408 100644 --- a/Makefile.x86_64 +++ b/Makefile.x86_64 @@ -12,6 +12,9 @@ ifeq ($(CORE), SKYLAKEX) ifndef NO_AVX512 CCOMMON_OPT += -march=skylake-avx512 FCOMMON_OPT += -march=skylake-avx512 +ifeq ($(OSNAME), CYGWIN_NT) +CCOMMON_OPT += -fno-asynchronous-unwind-tables +endif endif endif