Browse Source

Update fc.cmake

tags/v0.3.7
Martin Kroeker GitHub 7 years ago
parent
commit
e674e1c735
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmake/fc.cmake

+ 1
- 1
cmake/fc.cmake 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")


Loading…
Cancel
Save