From b0c10d29cb77fa6de202eeafa000d514893f5d26 Mon Sep 17 00:00:00 2001 From: Kamil Dziezyk Date: Thu, 13 Jan 2022 12:30:59 +0100 Subject: xen: Clear TUNE_CCARGS for Xen build for aarch64 machines Xen build may fail for arm machines that have enabled extra flags, that can be enabled only for specific architecture version, e.g. armv8-2a. Reviewed-by: Bertrand Marquis Acked-by: Christopher Clark Signed-off-by: Kamil Dziezyk Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen-hypervisor.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/recipes-extended/xen/xen-hypervisor.inc b/recipes-extended/xen/xen-hypervisor.inc index cffd491..81e361f 100644 --- a/recipes-extended/xen/xen-hypervisor.inc +++ b/recipes-extended/xen/xen-hypervisor.inc @@ -103,3 +103,7 @@ CROSS_CURSES_LIB += "-L${STAGING_LIBDIR_NATIVE}" # Specify the root dir of the .config file for do_menuconfig and do_diffconfig # tasks KCONFIG_CONFIG_ROOTDIR = "${S}/xen" + +# Xen is setting all CC flags on its own. Make sure that they are not modified +# for aarch64, e.g. with architecture-specific optimizations. +TUNE_CCARGS:aarch64="" -- cgit