diff options
author | makise-homura <akemi_homura@kurisa.ch> | 2018-02-21 16:53:15 +0300 |
---|---|---|
committer | makise-homura <akemi_homura@kurisa.ch> | 2018-02-21 16:53:15 +0300 |
commit | 8236bed11b03c46508227dd4f9490482453c7959 (patch) | |
tree | 155887b19bd87417dd6f832fa21c213ff5edac73 /mesonbuild/environment.py | |
parent | 74ae71903370da0f7cd0049af8dd83f0afd68bf8 (diff) | |
download | meson-8236bed11b03c46508227dd4f9490482453c7959.zip meson-8236bed11b03c46508227dd4f9490482453c7959.tar.gz meson-8236bed11b03c46508227dd4f9490482453c7959.tar.bz2 |
Support lcc compiler for e2k (Elbrus) architecture
Diffstat (limited to 'mesonbuild/environment.py')
-rw-r--r-- | mesonbuild/environment.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index e553423..ab3bfc9 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -498,7 +498,7 @@ class Environment: continue version = search_version(out) full_version = out.split('\n', 1)[0] - if 'Free Software Foundation' in out: + if 'Free Software Foundation' or ('e2k' and 'lcc') in out: defines = self.get_gnu_compiler_defines(compiler) if not defines: popen_exceptions[' '.join(compiler)] = 'no pre-processor defines' @@ -611,7 +611,7 @@ class Environment: popen_exceptions[' '.join(compiler + arg)] = e continue version = search_version(out) - if 'Free Software Foundation' in out: + if 'Free Software Foundation' or ('e2k' and 'lcc') in out: defines = self.get_gnu_compiler_defines(compiler) if not defines: popen_exceptions[' '.join(compiler)] = 'no pre-processor defines' @@ -638,7 +638,7 @@ class Environment: popen_exceptions[' '.join(compiler + arg)] = e continue version = search_version(out) - if 'Free Software Foundation' in out: + if 'Free Software Foundation' or ('e2k' and 'lcc') in out: defines = self.get_gnu_compiler_defines(compiler) if not defines: popen_exceptions[' '.join(compiler)] = 'no pre-processor defines' |