Skip to content

Commit 8915538

Browse files
dcbakerscivision
authored andcommitted
compilers/fortran: Add "none" to intel compielrs for standards
Fixes mesonbuild#8023
1 parent 0deab2e commit 8915538

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mesonbuild/compilers/fortran.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ def __init__(self, exelist: T.List[str], version: str, for_machine: MachineChoic
315315

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

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

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

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

0 commit comments

Comments
 (0)