]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
security_flags.inc: fix flags missing from SDK toolchain
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 25 Mar 2020 13:40:24 +0000 (08:40 -0500)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 25 Mar 2020 23:22:47 +0000 (07:22 +0800)
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).

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>
meta/conf/distro/include/security_flags.inc

index aaf04e9e5973d2d29591ddba7104661d281c2441..568d03693cec1822e572a8dd17eaa7ff7673ad9f 100644 (file)
@@ -57,6 +57,8 @@ SECURITY_STRINGFORMAT_pn-gcc = ""
 
 TARGET_CC_ARCH_append_class-target = " ${SECURITY_CFLAGS}"
 TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}"
+TARGET_CC_ARCH_append_class-cross-canadian = " ${SECURITY_CFLAGS}"
+TARGET_LDFLAGS_append_class-cross-canadian = " ${SECURITY_LDFLAGS}"
 
 SECURITY_STACK_PROTECTOR_pn-gcc-runtime = ""
 SECURITY_STACK_PROTECTOR_pn-glibc = ""