diff options
author | Fernando Ramos <greenfoo@gluegarage.com> | 2019-04-21 12:20:51 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-04-22 18:24:47 +0300 |
commit | d81dfcba74b8168a242dc2f582244dd1f675c99a (patch) | |
tree | 229c835b9c72bfe82a4b77a335c0ac0f975fc65c /mesonbuild | |
parent | 841995cddf7ad2fe18ff89ac6508aef459ec5742 (diff) | |
download | meson-d81dfcba74b8168a242dc2f582244dd1f675c99a.zip meson-d81dfcba74b8168a242dc2f582244dd1f675c99a.tar.gz meson-d81dfcba74b8168a242dc2f582244dd1f675c99a.tar.bz2 |
Add support for the Xtensa toolchain
From (almost) all points of view, the Xtensa toolchain can be treated as
a regular GCC toolchain.
This patch adds very basic support so that, at least, meson does not
fail when trying to use "xt-xcc" (which makes it possible to use it
without problems).
Diffstat (limited to 'mesonbuild')
-rw-r--r-- | mesonbuild/environment.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/environment.py b/mesonbuild/environment.py index c6e9a0c..c296573 100644 --- a/mesonbuild/environment.py +++ b/mesonbuild/environment.py @@ -689,7 +689,7 @@ class Environment: version = search_version(out) guess_gcc_or_lcc = False - if 'Free Software Foundation' in out: + if 'Free Software Foundation' in out or 'xt-' in out: guess_gcc_or_lcc = 'gcc' if 'e2k' in out and 'lcc' in out: guess_gcc_or_lcc = 'lcc' |