From 3e128c1bcd8f46a37923271b5b722b378eb72d06 Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Wed, 7 Jul 2021 21:32:44 -0700 Subject: xen, xen-tools: fix build and passing of CFLAGS via Xen vars Ensure that the Xen build system variables EXTRA_CFLAGS_XEN_CORE and EXTRA_CFLAGS_XEN_TOOLS are passed into the compile steps. Update the hypervisor compilation to avoid passing in most compile flags from the build environment via EXTRA_CFLAGS_XEN_CORE -- prefer the compiler defaults and the flags set by the Xen build system, so only the debug prefix flags are provided. Observeration derived from the prior commit e99974aa, so: Reported-by: Diego Sueiro Signed-off-by: Christopher Clark Reviewed-by: Bertrand Marquis Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen-tools.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes-extended/xen/xen-tools.inc') diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index 3560e798..2930097c 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc @@ -727,7 +727,8 @@ do_configure() { do_compile() { cd ${S} - oe_runmake tools PYTHON="${PYTHON}" + oe_runmake tools PYTHON="${PYTHON}" \ + EXTRA_CFLAGS_XEN_TOOLS="${EXTRA_CFLAGS_XEN_TOOLS}" } do_install() { -- cgit v1.2.3-54-g00ecf