From 95bf58c16e40d182d55b29c2858364e6a31dd160 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 12 Aug 2020 22:31:18 -0700 Subject: kexecboot: Use -fcommon to compile gcc10 defaults to -fno-common and kexecboot does not compile with -fno-common, so use -fcommon explicitly Signed-off-by: Khem Raj --- meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb') diff --git a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb index ed3dece3f6..2f46fa9523 100644 --- a/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb +++ b/meta-initramfs/recipes-bsp/kexecboot/kexecboot_git.bb @@ -13,6 +13,8 @@ inherit autotools EXTRA_OECONF = "--enable-textui --enable-delay=2 --enable-evdev-rate=1000,250" +CFLAGS += "-fcommon" + do_install () { install -D -m 0755 ${B}/src/kexecboot ${D}${bindir}/kexecboot install -d ${D}/proc -- cgit 1.2.3-korg