From c1cdd76a477cbe95ee89eaf297464d63aa14bdb2 Mon Sep 17 00:00:00 2001 From: Christopher Clark Date: Wed, 7 Jul 2021 21:32:45 -0700 Subject: xtf: fix build with gcc11 SRCREV and specifying linker Newer XTF revision works around GCC 11.1 issue 99578 and supplying the correct linker to use fixes the build. Signed-off-by: Christopher Clark Reviewed-by: Bertrand Marquis Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xtf_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes-extended') diff --git a/recipes-extended/xen/xtf_git.bb b/recipes-extended/xen/xtf_git.bb index 35803241..bf7470eb 100644 --- a/recipes-extended/xen/xtf_git.bb +++ b/recipes-extended/xen/xtf_git.bb @@ -6,7 +6,7 @@ LICENSE = "BSD-2-Clause" # https://static.sched.com/hosted_files/xendeveloperanddesignsummit2017/79/xtf.pdf SRC_URI = "git://xenbits.xen.org/xtf" -SRCREV = "b0bc49846c154b79243f39d461a4515804bcaf53" +SRCREV = "3e800027016ea4eb19887bf626b46f45fc43fa5d" COMPATIBLE_HOST = '(x86_64.*).*-linux' @@ -32,6 +32,7 @@ RDEPENDS_${PN} = " \ do_compile() { oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \ CPP="${CPP}" \ + LD="${LD}" \ OBJCOPY="${OBJCOPY}" \ PYTHON="${PYTHON}" # switch the shebang to python3 -- cgit v1.2.3-54-g00ecf