aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/coredata.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/coredata.py b/mesonbuild/coredata.py
index b5f48bd..01db635 100644
--- a/mesonbuild/coredata.py
+++ b/mesonbuild/coredata.py
@@ -531,7 +531,7 @@ class CoreData:
if cross_comp is not None:
new_options_for_host = cross_comp.get_and_default_options(env.properties.host)
else:
- new_options_for_host = comp.get_and_default_options(env.properties.host)
+ new_options_for_host = new_options_for_build
opts_machines_list = [
(new_options_for_build, MachineChoice.BUILD),