From 702d3e2d9ca55ea330101c925df12e8fc9b40387 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 30 Aug 2013 22:20:10 +0300 Subject: Work started on supporting simultaneous native and cross builds. --- environment.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'environment.py') diff --git a/environment.py b/environment.py index 717478d..cb8913a 100644 --- a/environment.py +++ b/environment.py @@ -790,9 +790,9 @@ class Environment(): def is_source(self, fname): return is_source(fname) - def detect_c_compiler(self): + def detect_c_compiler(self, want_cross): evar = 'CC' - if self.is_cross_build(): + if self.is_cross_build() and want_cross: compilers = [self.cross_info['c']] ccache = [] is_cross = True -- cgit v1.1