summaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-12-18 08:46:17 +0100
committerDylan Baker <dylan@pnwbakers.com>2025-12-18 08:49:01 -0800
commitdc87decd749b9330a7467429c73d8f463eb73333 (patch)
tree191dbb81279eda868d11141cfdde84fe9eb1965e /mesonbuild
parent298da8a8d4c6709bd51e669310b443778c880720 (diff)
downloadmeson-dc87decd749b9330a7467429c73d8f463eb73333.tar.gz
options: canonicalize to host options anything that is not per-machine
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/options.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/options.py b/mesonbuild/options.py
index 78f9f7fe5..5832461f0 100644
--- a/mesonbuild/options.py
+++ b/mesonbuild/options.py
@@ -841,7 +841,7 @@ class OptionStore:
#
# I did not do this yet, because it would make this MR even
# more massive than it already is. Later then.
- if not self.is_cross:
+ if not (self.is_cross and self.is_per_machine_option(key)):
key = key.as_host()
return key