diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2020-11-24 12:17:19 -0800 |
---|---|---|
committer | Michael Hirsch <10931741+scivision@users.noreply.github.com> | 2020-11-24 23:11:23 -0500 |
commit | 8915538c3191ab4a2316cde703b8dcc0fc4027db (patch) | |
tree | f8dc079a08662951dcc5787cadd2e06b4de87407 | |
parent | 0deab2ee9efc2ffe9e43f2787611e34656e6a304 (diff) | |
download | meson-8915538c3191ab4a2316cde703b8dcc0fc4027db.zip meson-8915538c3191ab4a2316cde703b8dcc0fc4027db.tar.gz meson-8915538c3191ab4a2316cde703b8dcc0fc4027db.tar.bz2 |
compilers/fortran: Add "none" to intel compielrs for standards
Fixes #8023
-rw-r--r-- | mesonbuild/compilers/fortran.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/fortran.py b/mesonbuild/compilers/fortran.py index db52951..4b49e36 100644 --- a/mesonbuild/compilers/fortran.py +++ b/mesonbuild/compilers/fortran.py @@ -315,7 +315,7 @@ class IntelFortranCompiler(IntelGnuLikeCompiler, FortranCompiler): 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]: @@ -365,7 +365,7 @@ class IntelClFortranCompiler(IntelVisualStudioLikeCompiler, FortranCompiler): 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]: |