18 lines
673 B
PHP
18 lines
673 B
PHP
# Base on oe-core security flags
|
|
#include conf/distro/include/security_flags.inc
|
|
|
|
# To override for multilib, use SECURITY_CFLAGS:pn-<pkg>_pn-<mlib>-<pkg>.
|
|
# If just SECURITY_CFLAGS:pn-<pkg> is defined, it will be used for all
|
|
# multilib variants, too.
|
|
|
|
# Reason: The recipe vdso-test located in wrlinux which has assemble code
|
|
SECURITY_CFLAGS:pn-vdso-test = ""
|
|
|
|
# Reason:
|
|
# upstream meta-secure-core refuse to set var-SECURITY_STACK_PROTECTOR to
|
|
# LDFLAGS and upstream oe-core refuse to remove var-SECURITY_STACK_PROTECTOR
|
|
# from LDFLAGS
|
|
SECURITY_LDFLAGS:remove:pn-libsign = "-fstack-protector-strong"
|
|
SECURITY_LDFLAGS:remove:pn-cryptfs-tpm2 = "-fstack-protector-strong"
|
|
|