no need to link with libgfortran when ONLY_CBLAS

This commit is contained in:
Martin Kroeker 2022-06-20 19:30:24 +02:00 committed by GitHub
parent 436a566c3b
commit 3dc2428137
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1042,10 +1042,12 @@ FCOMMON_OPT += -frecursive
FCOMMON_OPT += -fno-optimize-sibling-calls
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
ifneq ($(NOFORTRAN), 1)
ifneq ($(NOFORTRAN), 2)
ifneq ($(NO_LAPACK), 1)
EXTRALIB += -lgfortran
endif
endif
endif
ifdef NO_BINARY_MODE
ifeq ($(ARCH), $(filter $(ARCH),mips64))
ifdef BINARY64