From 96e1a7bb438ec2e3bcf43510e812ffb12a701989 Mon Sep 17 00:00:00 2001 From: Andrew McNulty Date: Tue, 10 Sep 2024 21:46:52 +0100 Subject: [PATCH] WIP --- mesonbuild/interpreter/interpreter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mesonbuild/interpreter/interpreter.py b/mesonbuild/interpreter/interpreter.py index bd4d1596231a..3fa628f0b4ef 100644 --- a/mesonbuild/interpreter/interpreter.py +++ b/mesonbuild/interpreter/interpreter.py @@ -1345,8 +1345,8 @@ def func_add_languages(self, node: mparser.FunctionNode, args: T.Tuple[T.List[st mlog.warning('add_languages is missing native:, assuming languages are wanted for both host and build.', location=node) - success = self.add_languages(langs, False, MachineChoice.BUILD) - success &= self.add_languages(langs, required, MachineChoice.HOST) + success = self.add_languages(langs, required, MachineChoice.HOST) + success &= self.add_languages(langs, False, MachineChoice.BUILD) return success def _stringify_user_arguments(self, args: T.List[TYPE_var], func_name: str) -> T.List[str]: