Skip to content

Commit 9c47873

Browse files
committed
wip
1 parent 7a6cf0c commit 9c47873

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mesonbuild/environment.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -619,9 +619,7 @@ def update_build_machine(self, compilers: T.Optional[T.Dict[str, Compiler]] = No
619619
620620
:compilers: An optional dictionary of compilers to use instead of the coredata dict.
621621
"""
622-
compilers = compilers or self.coredata.compilers.build
623-
if not compilers:
624-
return
622+
compilers = compilers or self.coredata.compilers.build or None
625623

626624
machines = self.machines.miss_defaulting()
627625
machines.build = detect_machine_info(compilers)

0 commit comments

Comments
 (0)