compilers/fortran: Make ifort (windows) proxy extra args to Compiler

This commit is contained in:
Dylan Baker 2019-07-23 16:09:12 -07:00
parent 61255eca16
commit 16e04a9bde
1 changed files with 2 additions and 2 deletions

View File

@ -276,8 +276,8 @@ class IntelClFortranCompiler(IntelVisualStudioLikeCompiler, FortranCompiler):
'custom': [], 'custom': [],
} }
def __init__(self, exelist, for_machine: MachineChoice, version, is_cross, target: str, exe_wrapper=None): def __init__(self, exelist, for_machine: MachineChoice, version, is_cross, target: str, exe_wrapper=None, **kwargs):
FortranCompiler.__init__(self, exelist, for_machine, version, is_cross, exe_wrapper) FortranCompiler.__init__(self, exelist, for_machine, version, is_cross, exe_wrapper, **kwargs)
IntelVisualStudioLikeCompiler.__init__(self, target) IntelVisualStudioLikeCompiler.__init__(self, target)
default_warn_args = ['/warn:general', '/warn:truncated_source'] default_warn_args = ['/warn:general', '/warn:truncated_source']