diff options
| -rw-r--r-- | recipes-extended/xen/xen-tools.inc | 5 |
1 files changed, 4 insertions, 1 deletions
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() { | |||
| 725 | do_configure_common | 725 | do_configure_common |
| 726 | } | 726 | } |
| 727 | 727 | ||
| 728 | # Workaround when compiling with gcc-11 | ||
| 729 | EXTRA_CFLAGS_XEN_TOOLS_append = " -Wno-vla-parameter" | ||
| 730 | |||
| 728 | do_compile() { | 731 | do_compile() { |
| 729 | cd ${S} | 732 | cd ${S} |
| 730 | oe_runmake tools PYTHON="${PYTHON}" | 733 | oe_runmake tools EXTRA_CFLAGS_XEN_TOOLS="${EXTRA_CFLAGS_XEN_TOOLS}" PYTHON="${PYTHON}" |
| 731 | } | 734 | } |
| 732 | 735 | ||
| 733 | do_install() { | 736 | do_install() { |
