Update fc.cmake

This commit is contained in:
Martin Kroeker 2019-06-09 09:31:13 +02:00 committed by GitHub
parent 6ca898b63b
commit e674e1c735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if (${F_COMPILER} STREQUAL "GFORTRAN")
# ensure reentrancy of lapack codes
set(FCOMMON_OPT "${FCOMMON_OPT} -Wall -frecursive")
# work around ABI violation in passing string arguments from C
set(FCOMMON_OPT "$(FCOMMON_OPT) -fno-optimize-sibling-calls")
set(FCOMMON_OPT "${FCOMMON_OPT} -fno-optimize-sibling-calls")
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
if (NOT NO_LAPACK)
set(EXTRALIB "{EXTRALIB} -lgfortran")