summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2020-03-25 08:40:24 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-30 17:41:56 +0100
commitcbe7c6568e57ed0fe13f2e96e72738b8077f5bea (patch)
treeadb18151faa02f91f2b61b18ab7b45847ea3ee30 /meta
parentf504feabb8c078d3482f114ead205246b03eff49 (diff)
downloadpoky-cbe7c6568e57ed0fe13f2e96e72738b8077f5bea.tar.gz
security_flags.inc: fix flags missing from SDK toolchain
The security flags were missing from the SDK toolchain because they were added specifically to class-target. Add them to class-cross-canadian as well (since the SDK environment file is created from cross-canadian target flags). (From OE-Core rev: d6df153991c91a1a14b561b3af52dcf96b73e6d7) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Antoine Manache <a.manache@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/conf/distro/include/security_flags.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
index aaf04e9e59..568d03693c 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -57,6 +57,8 @@ SECURITY_STRINGFORMAT_pn-gcc = ""
57 57
58TARGET_CC_ARCH_append_class-target = " ${SECURITY_CFLAGS}" 58TARGET_CC_ARCH_append_class-target = " ${SECURITY_CFLAGS}"
59TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" 59TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}"
60TARGET_CC_ARCH_append_class-cross-canadian = " ${SECURITY_CFLAGS}"
61TARGET_LDFLAGS_append_class-cross-canadian = " ${SECURITY_LDFLAGS}"
60 62
61SECURITY_STACK_PROTECTOR_pn-gcc-runtime = "" 63SECURITY_STACK_PROTECTOR_pn-gcc-runtime = ""
62SECURITY_STACK_PROTECTOR_pn-glibc = "" 64SECURITY_STACK_PROTECTOR_pn-glibc = ""