ffb: Fixed a recipe error when using the Intel compiler. (#20133)
This commit is contained in:
parent
4e3fd2687a
commit
7b587bdda3
@ -150,12 +150,14 @@ def edit(self, spec, prefix):
|
||||
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))
|
||||
elif spec.satisfies('%intel'):
|
||||
pass
|
||||
|
||||
def build(self, spec, prefix):
|
||||
for m in [join_path('make', 'Makeall'),
|
||||
|
Loading…
Reference in New Issue
Block a user