Skip to content

Commit

Permalink
compilers/fortran: Add "none" to intel compielrs for standards
Browse files Browse the repository at this point in the history
Fixes #8023
  • Loading branch information
dcbaker authored and scivision committed Nov 25, 2020
1 parent 0deab2e commit 8915538
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mesonbuild/compilers/fortran.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def __init__(self, exelist: T.List[str], version: str, for_machine: MachineChoic

def get_options(self) -> 'OptionDictType':
opts = FortranCompiler.get_options(self)
opts['std'].choices = ['legacy', 'f95', 'f2003', 'f2008', 'f2018'] # type: ignore
opts['std'].choices = ['none', 'legacy', 'f95', 'f2003', 'f2008', 'f2018'] # type: ignore
return opts

def get_option_compile_args(self, options: 'OptionDictType') -> T.List[str]:
Expand Down Expand Up @@ -365,7 +365,7 @@ def __init__(self, exelist: T.List[str], version: str, for_machine: MachineChoic

def get_options(self) -> 'OptionDictType':
opts = FortranCompiler.get_options(self)
opts['std'].choices = ['legacy', 'f95', 'f2003', 'f2008', 'f2018'] # type: ignore
opts['std'].choices = ['none', 'legacy', 'f95', 'f2003', 'f2008', 'f2018'] # type: ignore
return opts

def get_option_compile_args(self, options: 'OptionDictType') -> T.List[str]:
Expand Down

0 comments on commit 8915538

Please sign in to comment.