diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2016-06-14 22:39:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-14 22:39:08 +0300 |
commit | ddc4accca25eabd7ff537792934df7f9cc9a9e4c (patch) | |
tree | c85b35d1b8f536bf200397ce546829f87ec808da /mesonbuild/interpreter.py | |
parent | 80d677eee304366eca9d4b62269c5cd2cc403c52 (diff) | |
parent | 48f990aa85284110ceaafe376b3ef9e5deb1b18a (diff) | |
download | meson-ddc4accca25eabd7ff537792934df7f9cc9a9e4c.zip meson-ddc4accca25eabd7ff537792934df7f9cc9a9e4c.tar.gz meson-ddc4accca25eabd7ff537792934df7f9cc9a9e4c.tar.bz2 |
Merge pull request #590 from textshell/compiler-sanity-cross
compiler: Use cross tools args in sanity check.
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index e6b7406..53d7b10 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -1557,10 +1557,10 @@ class Interpreter(): # cross_comp = self.environment.detect_fortran_compiler(True) else: raise InvalidCode('Tried to use unknown language "%s".' % lang) - comp.sanity_check(self.environment.get_scratch_dir()) + comp.sanity_check(self.environment.get_scratch_dir(), self.environment) self.coredata.compilers[lang] = comp if cross_comp is not None: - cross_comp.sanity_check(self.environment.get_scratch_dir()) + cross_comp.sanity_check(self.environment.get_scratch_dir(), self.environment) self.coredata.cross_compilers[lang] = cross_comp new_options = comp.get_options() optprefix = lang + '_' |