diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/ffb/package.py | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/ffb/package.py b/var/spack/repos/builtin/packages/ffb/package.py index 7f55d74a6e..3a99177f70 100644 --- a/var/spack/repos/builtin/packages/ffb/package.py +++ b/var/spack/repos/builtin/packages/ffb/package.py @@ -150,12 +150,14 @@ class Ffb(MakefilePackage): cxx_fortran_flags = [] if spec.satisfies('%gcc'): cxx_fortran_flags.append('-lgfortran') - elif spec.satisfies('%intel'): - cxx_fortran_flags.expand(['-lifcore', '-limf']) + m = FileFilter(editfile) + m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags)) elif spec.satisfies('%fj'): cxx_fortran_flags.append('--linkfortran') - m = FileFilter(editfile) - m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags)) + m = FileFilter(editfile) + m.filter('-lifcore -limf', ' '.join(cxx_fortran_flags)) + elif spec.satisfies('%intel'): + pass def build(self, spec, prefix): for m in [join_path('make', 'Makeall'), |