]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
meson: Robustify compiler detection logic
authorKhem Raj <raj.khem@gmail.com>
Thu, 31 Mar 2022 22:29:00 +0000 (15:29 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Apr 2022 22:11:32 +0000 (23:11 +0100)
commitff75909f2a9e970aaf389e0012888c29f02376e3
treef3e983da117311ac5be5204f513a16b9a1eec8df
parent17e7d71ca8972b971156e83d14a89a7fe5e0f4e5
meson: Robustify compiler detection logic

meson would fail to detect compiler type in some rare care where
specific substring '-xt' is detected in compiler --version output and
it so happens that this string can be generated by clang --version if
clang is installed into a directory containing 'xt-' in its name. with
recipe specific sysroots, this is quite likely to happen in OE build
system as we are seeing the issue with newly proposed gnome-text-editor
recipe

https://lists.openembedded.org/g/openembedded-devel/topic/90150031#96301

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-devtools/meson/meson/0001-Check-for-clang-before-guessing-gcc-or-lcc.patch [new file with mode: 0644]
meta/recipes-devtools/meson/meson_0.61.3.bb