]> code.ossystems Code Review - openembedded-core.git/commitdiff
security_flags.inc: fix flags missing from SDK toolchain
authorTom Hochstein <tom.hochstein@nxp.com>
Tue, 24 Mar 2020 17:02:59 +0000 (12:02 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Mar 2020 22:55:14 +0000 (22:55 +0000)
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>
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 = ""