diff options
author | Saul Wold <sgw@linux.intel.com> | 2016-12-02 14:19:28 -0800 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2016-12-05 18:11:14 -0800 |
commit | 5bd26ee16c65d0bb8fb907a14f008d9d40bcfa53 (patch) | |
tree | de8914d3150c1aa5c604b1f58fe1140d42165451 /common/recipes-bsp | |
parent | 3de465c5e6981b4587b30c908cd45626d2f29c77 (diff) | |
download | meta-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/recipes-bsp')
-rw-r--r-- | common/recipes-bsp/rmc/rmc.bb | 1 |
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 | ||
35 | SECURITY_CFLAGS_remove_class-target = "-fstack-protector-strong" | ||
35 | do_compile_class-target() { | 36 | do_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 |