diff options
| author | Jussi Pakkanen <jpakkane@gmail.com> | 2024-06-30 13:16:42 +0300 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2024-07-11 11:53:39 +0300 |
| commit | 0d7bb776e2d97d406b726b90090bbfa8df13232b (patch) | |
| tree | 78817e1840f0741439871682b3c25a1e40a3067f /mesonbuild/compilers/mixins/intel.py | |
| parent | c2552527fb2f607052c7aed633b67dbb19f06e38 (diff) | |
| download | meson-0d7bb776e2d97d406b726b90090bbfa8df13232b.tar.gz | |
Move OptionKey in the option source file.
Diffstat (limited to 'mesonbuild/compilers/mixins/intel.py')
| -rw-r--r-- | mesonbuild/compilers/mixins/intel.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/compilers/mixins/intel.py b/mesonbuild/compilers/mixins/intel.py index 902cc7481..32cbdf010 100644 --- a/mesonbuild/compilers/mixins/intel.py +++ b/mesonbuild/compilers/mixins/intel.py @@ -18,6 +18,7 @@ from ... import mesonlib from ..compilers import CompileCheckMode from .gnu import GnuLikeCompiler from .visualstudio import VisualStudioLikeCompiler +from ...options import OptionKey if T.TYPE_CHECKING: from ...environment import Environment @@ -66,7 +67,7 @@ class IntelGnuLikeCompiler(GnuLikeCompiler): # It does have IPO, which serves much the same purpose as LOT, but # there is an unfortunate rule for using IPO (you can't control the # name of the output file) which break assumptions meson makes - self.base_options = {mesonlib.OptionKey(o) for o in [ + self.base_options = {OptionKey(o) for o in [ 'b_pch', 'b_lundef', 'b_asneeded', 'b_pgo', 'b_coverage', 'b_ndebug', 'b_staticpic', 'b_pie']} self.lang_header = 'none' |
