diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-30 23:00:19 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-30 23:00:19 +0300 |
commit | 29174b669faf684e789e3fe817787e48a7621dd3 (patch) | |
tree | 2b3da59b74110788452213f3ec27ad0209a43d2c /environment.py | |
parent | 52ed7fd8f84b052604b6a8e404d8d990a9d277ed (diff) | |
download | meson-29174b669faf684e789e3fe817787e48a7621dd3.zip meson-29174b669faf684e789e3fe817787e48a7621dd3.tar.gz meson-29174b669faf684e789e3fe817787e48a7621dd3.tar.bz2 |
Make native build work again.
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 cb8913a..a29e9e4 100644 --- a/environment.py +++ b/environment.py @@ -847,9 +847,9 @@ class Environment(): path = os.path.split(__file__)[0] return os.path.join(path, 'depfixer.py') - def detect_cpp_compiler(self): + def detect_cpp_compiler(self, want_cross): evar = 'CXX' - if self.is_cross_build(): + if self.is_cross_build() and want_cross: compilers = [self.cross_info['cpp']] ccache = [] is_cross = True |