We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff1bfe7 commit 6ca898bCopy full SHA for 6ca898b
cmake/fc.cmake
@@ -44,7 +44,10 @@ endif ()
44
45
if (${F_COMPILER} STREQUAL "GFORTRAN")
46
set(CCOMMON_OPT "${CCOMMON_OPT} -DF_INTERFACE_GFORT")
47
+ # ensure reentrancy of lapack codes
48
set(FCOMMON_OPT "${FCOMMON_OPT} -Wall -frecursive")
49
+ # work around ABI violation in passing string arguments from C
50
+ set(FCOMMON_OPT "$(FCOMMON_OPT) -fno-optimize-sibling-calls")
51
#Don't include -lgfortran, when NO_LAPACK=1 or lsbcc
52
if (NOT NO_LAPACK)
53
set(EXTRALIB "{EXTRALIB} -lgfortran")
0 commit comments