Skip to content
Permalink
Browse files

Add gfortran workaround for ABI violations in LAPACKE

for #2154 (see gcc bug 90329)
  • Loading branch information...
martin-frbg committed Jun 6, 2019
1 parent ff1bfe7 commit 900d5a3205bd06c04990ff842449ec80808d5027
Showing with 2 additions and 0 deletions.
  1. +2 −0 Makefile.system
@@ -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

0 comments on commit 900d5a3

Please sign in to comment.
You can’t perform that action at this time.