Add gfortran workaround for ABI violations in LAPACKE

for #2154 (see gcc bug 90329)
This commit is contained in:
Martin Kroeker 2019-06-06 10:18:40 +02:00 committed by GitHub
parent ff1bfe7b16
commit 900d5a3205
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -744,6 +744,8 @@ CCOMMON_OPT += -DF_INTERFACE_GFORT
FCOMMON_OPT += -Wall
# make single-threaded LAPACK calls thread-safe #1847
FCOMMON_OPT += -frecursive
# work around ABI problem with passing single-character arguments
FCOMMON_OPT += -fno-optimize-sibling-calls
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
ifneq ($(NO_LAPACK), 1)
EXTRALIB += -lgfortran