diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-30 22:20:10 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-30 22:20:10 +0300 |
commit | 702d3e2d9ca55ea330101c925df12e8fc9b40387 (patch) | |
tree | e947815ae107d5cb46c54616e8bd75be562dd992 /environment.py | |
parent | 6a6f0d1d84fd914ab6e20e57f6f0c1c047ef34e2 (diff) | |
download | meson-702d3e2d9ca55ea330101c925df12e8fc9b40387.zip meson-702d3e2d9ca55ea330101c925df12e8fc9b40387.tar.gz meson-702d3e2d9ca55ea330101c925df12e8fc9b40387.tar.bz2 |
Work started on supporting simultaneous native and cross builds.
Diffstat (limited to 'environment.py')
-rw-r--r-- | environment.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |