From 5bd26ee16c65d0bb8fb907a14f008d9d40bcfa53 Mon Sep 17 00:00:00 2001 From: Saul Wold Date: Fri, 2 Dec 2016 14:19:28 -0800 Subject: rmc: remove stack-protector-strong from CFLAGS Since the rmc is used standalone from systemd-boot and does not use libc which provides the stack_chk_fail code that causes an undefined symbol Signed-off-by: Saul Wold --- common/recipes-bsp/rmc/rmc.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'common') diff --git a/common/recipes-bsp/rmc/rmc.bb b/common/recipes-bsp/rmc/rmc.bb index aeaf12e8..f69b41a0 100644 --- a/common/recipes-bsp/rmc/rmc.bb +++ b/common/recipes-bsp/rmc/rmc.bb @@ -32,6 +32,7 @@ def rmc_efi_arch(d): return "ia32" return arch +SECURITY_CFLAGS_remove_class-target = "-fstack-protector-strong" do_compile_class-target() { oe_runmake oe_runmake RMC_EFI_HEADER_PREFIX=${STAGING_INCDIR}/efi RMC_EFI_ARCH="${@rmc_efi_arch(d)}" -f Makefile.efi -- cgit v1.2.3-54-g00ecf