Skip to content
Permalink
Browse files

Add gfortran workaround for ABI violations

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

0 comments on commit a0caa76

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