Skip to content

Commit a66f4d8

Browse files
authored
Apply MinGW AVX512 compilation fix to fortran options as well
original issue was #1708, I see now that the same problem affects gfortran compilation. The underlying issue is said to be fixed (but not yet released) on all branches of gcc as of a few days ago but it will certainly take time to reach mingw/msys.
1 parent 531c6b9 commit a66f4d8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile.x86_64

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,12 @@ CCOMMON_OPT += -march=skylake-avx512
1515
FCOMMON_OPT += -march=skylake-avx512
1616
ifeq ($(OSNAME), CYGWIN_NT)
1717
CCOMMON_OPT += -fno-asynchronous-unwind-tables
18+
FCOMMON_OPT += -fno-asynchronous-unwind-tables
1819
endif
1920
ifeq ($(OSNAME), WINNT)
2021
ifeq ($(C_COMPILER), GCC)
2122
CCOMMON_OPT += -fno-asynchronous-unwind-tables
23+
FCOMMON_OPT += -fno-asynchronous-unwind-tables
2224
endif
2325
endif
2426
endif

0 commit comments

Comments
 (0)