Add -frecursive gfortran option by default

This commit is contained in:
Andrew
2018-11-06 08:20:55 +00:00
parent 066f8065d1
commit 7d3502b500
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -718,6 +718,8 @@ endif
ifeq ($(F_COMPILER), GFORTRAN)
CCOMMON_OPT += -DF_INTERFACE_GFORT
FCOMMON_OPT += -Wall
# make single-threaded LAPACK calls thread-safe #1847
FCOMMON_OPT += -frecursive
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
ifneq ($(NO_LAPACK), 1)
EXTRALIB += -lgfortran