Skip to content

Commit 7347866

Browse files
authored
Add workaround for avx512 compilations on Cygwin
fixes #1708
1 parent 61659f8 commit 7347866

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.x86_64

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ ifeq ($(CORE), SKYLAKEX)
1212
ifndef NO_AVX512
1313
CCOMMON_OPT += -march=skylake-avx512
1414
FCOMMON_OPT += -march=skylake-avx512
15+
ifeq ($(OSNAME), CYGWIN_NT)
16+
CCOMMON_OPT += -fno-asynchronous-unwind-tables
17+
endif
1518
endif
1619
endif
1720

0 commit comments

Comments
 (0)