summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2016-12-02 14:19:28 -0800
committerSaul Wold <sgw@linux.intel.com>2016-12-05 18:11:14 -0800
commit5bd26ee16c65d0bb8fb907a14f008d9d40bcfa53 (patch)
treede8914d3150c1aa5c604b1f58fe1140d42165451 /common
parent3de465c5e6981b4587b30c908cd45626d2f29c77 (diff)
downloadmeta-intel-5bd26ee16c65d0bb8fb907a14f008d9d40bcfa53.tar.gz
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 <sgw@linux.intel.com>
Diffstat (limited to 'common')
-rw-r--r--common/recipes-bsp/rmc/rmc.bb1
1 files changed, 1 insertions, 0 deletions
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):
32 return "ia32" 32 return "ia32"
33 return arch 33 return arch
34 34
35SECURITY_CFLAGS_remove_class-target = "-fstack-protector-strong"
35do_compile_class-target() { 36do_compile_class-target() {
36 oe_runmake 37 oe_runmake
37 oe_runmake RMC_EFI_HEADER_PREFIX=${STAGING_INCDIR}/efi RMC_EFI_ARCH="${@rmc_efi_arch(d)}" -f Makefile.efi 38 oe_runmake RMC_EFI_HEADER_PREFIX=${STAGING_INCDIR}/efi RMC_EFI_ARCH="${@rmc_efi_arch(d)}" -f Makefile.efi