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 <[email protected]>
---
 common/recipes-bsp/rmc/rmc.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/recipes-bsp/rmc/rmc.bb b/common/recipes-bsp/rmc/rmc.bb
index 41062bf..8c89a99 100644
--- a/common/recipes-bsp/rmc/rmc.bb
+++ b/common/recipes-bsp/rmc/rmc.bb
@@ -22,6 +22,7 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*)-linux*"
 
 TARGET_CFLAGS +="-Wl,--hash-style=both"
 
+SECURITY_CFLAGS_remove_class-target = "-fstack-protector-strong"
 do_compile_class-target() {
        oe_runmake
        oe_runmake -f Makefile.efi
-- 
2.7.4

-- 
_______________________________________________
meta-intel mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-intel

Reply via email to