ifort: ifort needs to have -lifcore like gfotran needs -lgfortran

pull/4359/head
Dylan Baker 6 years ago
parent 9f9cfd2139
commit a7845d91aa
  1. 3
      mesonbuild/compilers/fortran.py

@ -345,6 +345,9 @@ class IntelFortranCompiler(IntelCompiler, FortranCompiler):
val.remove('-pipe') val.remove('-pipe')
return val return val
def language_stdlib_only_link_flags(self):
return ['-lifcore', '-limf']
class PathScaleFortranCompiler(FortranCompiler): class PathScaleFortranCompiler(FortranCompiler):
def __init__(self, exelist, version, is_cross, exe_wrapper=None, **kwags): def __init__(self, exelist, version, is_cross, exe_wrapper=None, **kwags):

Loading…
Cancel
Save