Skip to contentSkip to conversation

security_flags.inc: fix flags missing from SDK toolchain

PATCH New Tom Hochstein 1 participant 1 message Mar 25, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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).

---
 meta/conf/distro/include/security_flags.inc | 2 ++
 1 file changed, 2 insertions(+)
meta/conf/distro/include/security_flags.inc +2 -0
index aaf04e9e59..568d03693c 100644
@@ -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 = ""
Signature · 1 line
2.17.1