Use cygwin compilation workaround for avx512 on msys2/mingw64 as well
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 9 Oct 2018 08:31:59 +0000 (10:31 +0200)
committerGitHub <noreply@github.com>
Tue, 9 Oct 2018 08:31:59 +0000 (10:31 +0200)
Makefile.x86_64

index f831b50..f2647fb 100644 (file)
@@ -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