Skip to content

Commit 8f7e986

Browse files
authored
Merge pull request #1802 from martin-frbg/issue1801
Use avx512 workaround with msys2/mingw64 as well
2 parents d0e8366 + 6234a32 commit 8f7e986

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Makefile.x86_64

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ FCOMMON_OPT += -march=skylake-avx512
1515
ifeq ($(OSNAME), CYGWIN_NT)
1616
CCOMMON_OPT += -fno-asynchronous-unwind-tables
1717
endif
18+
ifeq ($(OSNAME), WINNT)
19+
ifeq ($(C_COMPILER), GCC)
20+
CCOMMON_OPT += -fno-asynchronous-unwind-tables
21+
endif
22+
endif
1823
endif
1924
endif
2025

0 commit comments

Comments
 (0)