diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index 3560e798..e939c459 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc @@ -725,9 +725,12 @@ do_configure() { do_configure_common } +# Workaround when compiling with gcc-11 +EXTRA_CFLAGS_XEN_TOOLS_append = " -Wno-vla-parameter" + do_compile() { cd ${S} - oe_runmake tools PYTHON="${PYTHON}" + oe_runmake tools EXTRA_CFLAGS_XEN_TOOLS="${EXTRA_CFLAGS_XEN_TOOLS}" PYTHON="${PYTHON}" } do_install() {