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>
This commit is contained in:
Saul Wold 2016-12-02 14:19:28 -08:00
parent 3de465c5e6
commit 5bd26ee16c

View File

@ -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