[PATCH] xen: force usage of gcc

Jon Mason

xen-tools and xen (and possibly others) fail to compile with clang, with the following error:
configure: error: in `/builder/meta-arm/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.17+stableAUTOINC+11560248ff-r0/git/tools':
configure: error: C compiler cannot create executables
See `config.log' for more details
configure: error: ./configure failed for tools

Force all of xen to use gcc until this issue can be resolved.

Signed-off-by: Jon Mason <jdmason@...>
recipes-extended/xen/xen.inc | 2 ++
1 file changed, 2 insertions(+)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index 5937763a7ddf..dcd281b5a21b 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -2,6 +2,8 @@ HOMEPAGE = "http://xen.org"
LICENSE = "GPL-2.0-only"
SECTION = "console/tools"

+TOOLCHAIN = "gcc"
inherit autotools-brokensep pkgconfig

require xen-arch.inc

Join meta-virtualization@lists.yoctoproject.org to automatically receive all group messages.