summaryrefslogtreecommitdiff
path: root/mesonbuild/environment.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2025-05-07 08:20:52 +0200
committerEli Schwartz <eschwartz93@gmail.com>2025-05-15 02:03:46 -0400
commitd11fa36196b6f037d95304772efd6e51b39b8379 (patch)
treef55e98ecb0ce8702f1ab8d3ba94d2433ec6f509e /mesonbuild/environment.py
parent938690eef76d036a1682150944e65d956ec9db8d (diff)
downloadmeson-d11fa36196b6f037d95304772efd6e51b39b8379.tar.gz
environment: move a comment around
Make space for moving the larger comment about *_env_args, which will be before the for loop once *_env_args is removed. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r--mesonbuild/environment.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py
index 5a687b831..a3b8cd5f2 100644
--- a/mesonbuild/environment.py
+++ b/mesonbuild/environment.py
@@ -843,9 +843,9 @@ class Environment:
key = key.evolve(f'{lang}_env_args')
env_opts[key].extend(p_list)
- # Only store options that are not already in self.options,
- # otherwise we'd override the machine files
for k, v in env_opts.items():
+ # Only store options that are not already in self.options,
+ # otherwise we'd override the machine files
if k not in self.options:
self.options[k] = v