Browse Source

Add gfortran workaround for ABI violations

for #2154 (see gcc bug 90329)
tags/v0.3.7
Martin Kroeker GitHub 7 years ago
parent
commit
a0caa762b3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      Makefile.power

+ 4
- 0
Makefile.power View File

@@ -29,6 +29,10 @@ FCOMMON_OPT += -O2 -frecursive -mcpu=power8 -mtune=power8 -malign-power -fno-fas
endif
endif

# workaround for C->FORTRAN ABI violation in LAPACKE
ifeq ($(F_COMPILER), GFORTRAN)
FCOMMON_OPT += -fno-optimize-sibling-calls
endif

FLAMEPATH = $(HOME)/flame/lib



Loading…
Cancel
Save