summaryrefslogtreecommitdiffstats
path: root/recipes-extended/ipxe/ipxe_git.bb
diff options
context:
space:
mode:
authorBertrand Marquis <bertrand.marquis@arm.com>2020-10-09 13:37:18 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2020-10-14 20:34:04 -0400
commit1d861978463fdc247a7a57464b8349debba51912 (patch)
treea2d1bdcccfc5a2bc04bfd4091496f467554f8710 /recipes-extended/ipxe/ipxe_git.bb
parentef00e949b76f129b5a4e27d762aefba06bbc719c (diff)
downloadmeta-virtualization-1d861978463fdc247a7a57464b8349debba51912.tar.gz
ipxe: Fix gcc10 compilation
Add ipxe patch to pass -fcommon flag to gcc during compilation. This patch is required to have ipxe compiling properly with gcc10. Without it the following error occur (and multiple others of the same kind: bin/blib.a(epic100.o):(.bss+0x0): multiple definition of `_shared_bss'; bin/blib.a(davicom.o):(.bss+0x0): first defined here Change-Id: Id9aed4cfe6bec9c0cbdb0b99271ddff472f1f0c3 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/ipxe/ipxe_git.bb')
-rw-r--r--recipes-extended/ipxe/ipxe_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/recipes-extended/ipxe/ipxe_git.bb b/recipes-extended/ipxe/ipxe_git.bb
index fbaad309..d7c60ab0 100644
--- a/recipes-extended/ipxe/ipxe_git.bb
+++ b/recipes-extended/ipxe/ipxe_git.bb
@@ -15,6 +15,7 @@ SRC_URI = " \
15 file://ipxe-fix-hostcc-nopie-cflags.patch \ 15 file://ipxe-fix-hostcc-nopie-cflags.patch \
16 file://ipxe-intel-Avoid-spurious-compiler-warning-on-GCC-10.patch \ 16 file://ipxe-intel-Avoid-spurious-compiler-warning-on-GCC-10.patch \
17 file://ipxe-golan-Add-explicit-type-casts-for-nodnic_queue_pair_.patch \ 17 file://ipxe-golan-Add-explicit-type-casts-for-nodnic_queue_pair_.patch \
18 file://build-be-explicit-about-fcommon-compiler-directive.patch \
18 " 19 "
19 20
20FILES_${PN} = "/usr/share/firmware/*.rom" 21FILES_${PN} = "/usr/share/firmware/*.rom"