summaryrefslogtreecommitdiff
path: root/mesonbuild/options.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-04-02 12:27:42 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2025-04-09 16:32:20 +0300
commitd66c6c126673096e5d6be10332b88f47ea2c41ee (patch)
tree368e50c5c2973de29aeea962f5e06cfa958eb5b9 /mesonbuild/options.py
parentedd746dc4271312c95a7a085d235ec98881b7800 (diff)
downloadmeson-d66c6c126673096e5d6be10332b88f47ea2c41ee.tar.gz
options: fix incorrect comment
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/options.py')
-rw-r--r--mesonbuild/options.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/mesonbuild/options.py b/mesonbuild/options.py
index 82fe88b16..bb4795e5a 100644
--- a/mesonbuild/options.py
+++ b/mesonbuild/options.py
@@ -1294,8 +1294,8 @@ class OptionStore:
key = OptionKey.from_string(keystr)
else:
key = keystr
- # Due to backwards compatibility we ignore all cross options when building
- # natively.
+ # Due to backwards compatibility we ignore all build-machine options
+ # when building natively.
if not self.is_cross and key.is_for_build():
continue
if key.subproject is not None:
@@ -1327,8 +1327,8 @@ class OptionStore:
key = OptionKey.from_string(keystr)
else:
key = keystr
- # Due to backwards compatibility we ignore all cross options when building
- # natively.
+ # Due to backwards compatibility we ignore build-machine options
+ # when building natively.
if not self.is_cross and key.is_for_build():
continue
if key.subproject is not None:
@@ -1351,8 +1351,8 @@ class OptionStore:
key = OptionKey.from_string(keystr)
else:
key = keystr
- # Due to backwards compatibility we ignore all cross options when building
- # natively.
+ # Due to backwards compatibility we ignore all build-machine options
+ # when building natively.
if not self.is_cross and key.is_for_build():
continue
if key in self.options: