diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2020-03-24 12:02:59 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-03-25 10:02:49 +0000 |
commit | f17f89e2f4ad0ef56fc2ed5efaf99b52e01c9c47 (patch) | |
tree | 48d50b0e48299d9d991f7bda6a91ba38054be7ae /meta/conf | |
parent | a0a4f6bf89e49a57e44f718e3059fb476738de14 (diff) | |
download | poky-f17f89e2f4ad0ef56fc2ed5efaf99b52e01c9c47.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: cd46e8f890069a40d1e9048cfa0f378dec1dc5e9)
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>
Diffstat (limited to 'meta/conf')
-rw-r--r-- | meta/conf/distro/include/security_flags.inc | 2 |
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 | ||
58 | TARGET_CC_ARCH_append_class-target = " ${SECURITY_CFLAGS}" | 58 | TARGET_CC_ARCH_append_class-target = " ${SECURITY_CFLAGS}" |
59 | TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" | 59 | TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" |
60 | TARGET_CC_ARCH_append_class-cross-canadian = " ${SECURITY_CFLAGS}" | ||
61 | TARGET_LDFLAGS_append_class-cross-canadian = " ${SECURITY_LDFLAGS}" | ||
60 | 62 | ||
61 | SECURITY_STACK_PROTECTOR_pn-gcc-runtime = "" | 63 | SECURITY_STACK_PROTECTOR_pn-gcc-runtime = "" |
62 | SECURITY_STACK_PROTECTOR_pn-glibc = "" | 64 | SECURITY_STACK_PROTECTOR_pn-glibc = "" |