[meta-intel] [PATCH] rmc: remove stack-protector-strong from CFLAGS
Saul Wold
sgw at linux.intel.com
Fri Dec 2 14:19:28 PST 2016
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 <sgw at linux.intel.com>
---
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
More information about the meta-intel
mailing list