diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-08-22 11:24:12 -0700 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2019-10-07 12:08:20 -0700 |
commit | afbed79baa579a1d3550631168c0810a5d0f522c (patch) | |
tree | f72c096bc25c9dbf8625706afe52ec0c202c1aff /mesonbuild/environment.py | |
parent | 0c22798b1ad4678abb205280060175678a790c4a (diff) | |
download | meson-afbed79baa579a1d3550631168c0810a5d0f522c.zip meson-afbed79baa579a1d3550631168c0810a5d0f522c.tar.gz meson-afbed79baa579a1d3550631168c0810a5d0f522c.tar.bz2 |
compilers: replace uses of mesonlib.is_<os>() with self.info.is_<os>()
Since these are cross compilation safe, while the former is not.
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index 6edf250..4f581ff 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -1034,7 +1034,6 @@ class Environment: popen_exceptions = {} is_cross = not self.machines.matches_build_machine(for_machine) compilers, ccache, exe_wrap = self._get_compilers('cuda', for_machine) - info = self.machines[for_machine] for compiler in compilers: if isinstance(compiler, str): compiler = [compiler] |