diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2021-07-07 21:32:43 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-14 15:33:10 -0400 |
commit | 4d61693058271667a5f30a92d8f40c96ff1c16ba (patch) | |
tree | 92d639b06f7a70d7980d5bf0a68a00bf843ba81f /recipes-extended/xen/xen-tools.inc | |
parent | 172d5f47d54c6cea5f3c229fbd078200930fb690 (diff) | |
download | meta-virtualization-4d61693058271667a5f30a92d8f40c96ff1c16ba.tar.gz |
xen, xen-tools: apply upstream fixes for gcc11 compilation
Apply patches for the tools and hypervisor to Xen 4.15 and the git
recipe and uprev Xen 4.14 to latest stable revision.
Retire the previous -Wno-vla-parameter workaround.
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen/xen-tools.inc')
-rw-r--r-- | recipes-extended/xen/xen-tools.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index e939c459..3560e798 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
@@ -725,12 +725,9 @@ 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 | |||
731 | do_compile() { | 728 | do_compile() { |
732 | cd ${S} | 729 | cd ${S} |
733 | oe_runmake tools EXTRA_CFLAGS_XEN_TOOLS="${EXTRA_CFLAGS_XEN_TOOLS}" PYTHON="${PYTHON}" | 730 | oe_runmake tools PYTHON="${PYTHON}" |
734 | } | 731 | } |
735 | 732 | ||
736 | do_install() { | 733 | do_install() { |