summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openblas/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openblas/package.py b/var/spack/repos/builtin/packages/openblas/package.py
index df5f9565bd..006ddd3f65 100644
--- a/var/spack/repos/builtin/packages/openblas/package.py
+++ b/var/spack/repos/builtin/packages/openblas/package.py
@@ -277,6 +277,10 @@ class Openblas(MakefilePackage):
if self.spec.satisfies('%gcc@:4.8.4'):
make_defs.append('NO_AVX2=1')
+ # Fujitsu Compiler dose not add Fortran runtime in rpath.
+ if self.spec.satisfies('%fj'):
+ make_defs.append('LDFLAGS=-lfj90i -lfj90f -lfjsrcinfo -lelf')
+
# Newer versions of openblas will try to find ranlib in the compiler's
# prefix, for instance, .../lib/spack/env/gcc/ranlib, which will fail.
if self.spec.satisfies('@0.3.13:'):