diff options
author | Christopher Clark <christopher.w.clark@gmail.com> | 2021-07-07 21:32:45 -0700 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2021-07-14 15:33:10 -0400 |
commit | c1cdd76a477cbe95ee89eaf297464d63aa14bdb2 (patch) | |
tree | 032026d3d75f1592bf31e7279944c42ee63d0335 /recipes-extended | |
parent | 3e128c1bcd8f46a37923271b5b722b378eb72d06 (diff) | |
download | meta-virtualization-c1cdd76a477cbe95ee89eaf297464d63aa14bdb2.tar.gz |
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 <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/xen/xtf_git.bb | 3 |
1 files changed, 2 insertions, 1 deletions
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" | |||
6 | # https://static.sched.com/hosted_files/xendeveloperanddesignsummit2017/79/xtf.pdf | 6 | # https://static.sched.com/hosted_files/xendeveloperanddesignsummit2017/79/xtf.pdf |
7 | 7 | ||
8 | SRC_URI = "git://xenbits.xen.org/xtf" | 8 | SRC_URI = "git://xenbits.xen.org/xtf" |
9 | SRCREV = "b0bc49846c154b79243f39d461a4515804bcaf53" | 9 | SRCREV = "3e800027016ea4eb19887bf626b46f45fc43fa5d" |
10 | 10 | ||
11 | COMPATIBLE_HOST = '(x86_64.*).*-linux' | 11 | COMPATIBLE_HOST = '(x86_64.*).*-linux' |
12 | 12 | ||
@@ -32,6 +32,7 @@ RDEPENDS_${PN} = " \ | |||
32 | do_compile() { | 32 | do_compile() { |
33 | oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \ | 33 | oe_runmake CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}" \ |
34 | CPP="${CPP}" \ | 34 | CPP="${CPP}" \ |
35 | LD="${LD}" \ | ||
35 | OBJCOPY="${OBJCOPY}" \ | 36 | OBJCOPY="${OBJCOPY}" \ |
36 | PYTHON="${PYTHON}" | 37 | PYTHON="${PYTHON}" |
37 | # switch the shebang to python3 | 38 | # switch the shebang to python3 |