From 17a602a4ec7187db4c80ecb2a1f137dc86717ea0 Mon Sep 17 00:00:00 2001 From: John Ericson Date: Wed, 9 Jan 2019 15:55:24 -0500 Subject: [PATCH] Remove spurious case in interpreter `need_cross_compiler = is_cross_build()`, so the condition is always false. --- mesonbuild/interpreter.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 9ebce7039..83ca336a7 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2713,8 +2713,6 @@ external dependencies (including libraries) must go to "dependencies".''') mlog.log('Cross', cross_comp.get_display_language(), 'compiler:', mlog.bold(' '.join(cross_comp.get_exelist())), version_string) self.build.add_cross_compiler(cross_comp) - if self.environment.is_cross_build() and not need_cross_compiler: - self.build.add_cross_compiler(comp) self.add_base_options(comp) return success