From d81dfcba74b8168a242dc2f582244dd1f675c99a Mon Sep 17 00:00:00 2001 From: Fernando Ramos Date: Sun, 21 Apr 2019 12:20:51 +0200 Subject: 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). --- mesonbuild/environment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/environment.py') 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' -- cgit v1.1