diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-19 18:19:45 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-06-19 13:03:36 -0400 |
commit | 9baa740aa1f3564322f594b50684b320f0d4b298 (patch) | |
tree | cc5e1713899183c9732d39e0f179ac9882f8a46c /mesonbuild/compilers.py | |
parent | f8c46951ef7ffb26ff1cdc4aa7fb4d59586d76e7 (diff) | |
download | meson-9baa740aa1f3564322f594b50684b320f0d4b298.zip meson-9baa740aa1f3564322f594b50684b320f0d4b298.tar.gz meson-9baa740aa1f3564322f594b50684b320f0d4b298.tar.bz2 |
Only call to_native once per invocation.
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r-- | mesonbuild/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 6a9ad4f..3b9972f 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -1053,7 +1053,7 @@ class CCompiler(Compiler): def _links_wrapper(self, code, env, extra_args, dependencies): "Shares common code between self.links and self.run" args = self._get_compiler_check_args(env, extra_args, dependencies, mode='link') - return self.compile(code, args.to_native()) + return self.compile(code, args) def links(self, code, env, extra_args=None, dependencies=None): with self._links_wrapper(code, env, extra_args, dependencies) as p: |