Skip to content

Commit e8bc8a0

Browse files
authored
Add support for the new generation flang that comes with LLVM17
1 parent f2c9ae9 commit e8bc8a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile.system

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1087,8 +1087,9 @@ endif
10871087
endif
10881088
endif
10891089

1090-
ifeq ($(F_COMPILER), GFORTRAN)
1090+
ifeq ($(F_COMPILER), $(filter $(F_COMPILER),GFORTRAN FLANGNEW))
10911091
CCOMMON_OPT += -DF_INTERFACE_GFORT
1092+
ifeq ($(F_COMPILER), GFORTRAN)
10921093
FCOMMON_OPT += -Wall
10931094
# make single-threaded LAPACK calls thread-safe #1847
10941095
FCOMMON_OPT += -frecursive
@@ -1102,6 +1103,7 @@ EXTRALIB += -lgfortran
11021103
endif
11031104
endif
11041105
endif
1106+
endif
11051107
ifdef NO_BINARY_MODE
11061108
ifeq ($(ARCH), $(filter $(ARCH),mips64))
11071109
ifdef BINARY64

0 commit comments

Comments
 (0)