summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/octave/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/octave/package.py b/var/spack/repos/builtin/packages/octave/package.py
index 26a21e7891..3d6d3e5ad9 100644
--- a/var/spack/repos/builtin/packages/octave/package.py
+++ b/var/spack/repos/builtin/packages/octave/package.py
@@ -275,6 +275,10 @@ class Octave(AutotoolsPackage, GNUMirrorPackage):
spec.satisfies('^intel-parallel-studio+mkl+ilp64')):
config_args.append('F77_INTEGER_8_FLAG=-fdefault-integer-8')
+ # Use gfortran calling-convention %fj
+ if spec.satisfies('%fj'):
+ config_args.append('--enable-fortran-calling-convention=gfortran')
+
return config_args
# ========================================================================