summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/security_flags.inc
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/conf/distro/include/security_flags.inc
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/conf/distro/include/security_flags.inc')
-rw-r--r--meta/conf/distro/include/security_flags.inc60
1 files changed, 30 insertions, 30 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
index f996ca9be2..e469eadca1 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -32,40 +32,40 @@ SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now"
32SECURITY_X_LDFLAGS ?= "-Wl,-z,relro" 32SECURITY_X_LDFLAGS ?= "-Wl,-z,relro"
33 33
34# powerpc does not get on with pie for reasons not looked into as yet 34# powerpc does not get on with pie for reasons not looked into as yet
35GCCPIE_powerpc = "" 35GCCPIE:powerpc = ""
36GLIBCPIE_powerpc = "" 36GLIBCPIE:powerpc = ""
37SECURITY_CFLAGS_remove_powerpc = "${SECURITY_PIE_CFLAGS}" 37SECURITY_CFLAGS:remove:powerpc = "${SECURITY_PIE_CFLAGS}"
38SECURITY_CFLAGS_pn-libgcc_powerpc = "" 38SECURITY_CFLAGS:pn-libgcc:powerpc = ""
39 39
40SECURITY_CFLAGS_pn-glibc = "" 40SECURITY_CFLAGS:pn-glibc = ""
41SECURITY_CFLAGS_pn-glibc-testsuite = "" 41SECURITY_CFLAGS:pn-glibc-testsuite = ""
42SECURITY_CFLAGS_pn-gcc-runtime = "" 42SECURITY_CFLAGS:pn-gcc-runtime = ""
43SECURITY_CFLAGS_pn-grub = "" 43SECURITY_CFLAGS:pn-grub = ""
44SECURITY_CFLAGS_pn-grub-efi = "" 44SECURITY_CFLAGS:pn-grub-efi = ""
45SECURITY_CFLAGS_pn-mkelfimage_x86 = "" 45SECURITY_CFLAGS:pn-mkelfimage:x86 = ""
46 46
47SECURITY_CFLAGS_pn-valgrind = "${SECURITY_NOPIE_CFLAGS}" 47SECURITY_CFLAGS:pn-valgrind = "${SECURITY_NOPIE_CFLAGS}"
48SECURITY_LDFLAGS_pn-valgrind = "" 48SECURITY_LDFLAGS:pn-valgrind = ""
49SECURITY_CFLAGS_pn-sysklogd = "${SECURITY_NOPIE_CFLAGS}" 49SECURITY_CFLAGS:pn-sysklogd = "${SECURITY_NOPIE_CFLAGS}"
50SECURITY_LDFLAGS_pn-sysklogd = "" 50SECURITY_LDFLAGS:pn-sysklogd = ""
51 51
52# Recipes which fail to compile when elevating -Wformat-security to an error 52# Recipes which fail to compile when elevating -Wformat-security to an error
53SECURITY_STRINGFORMAT_pn-busybox = "" 53SECURITY_STRINGFORMAT:pn-busybox = ""
54SECURITY_STRINGFORMAT_pn-gcc = "" 54SECURITY_STRINGFORMAT:pn-gcc = ""
55 55
56TARGET_CC_ARCH_append_class-target = " ${SECURITY_CFLAGS}" 56TARGET_CC_ARCH:append:class-target = " ${SECURITY_CFLAGS}"
57TARGET_LDFLAGS_append_class-target = " ${SECURITY_LDFLAGS}" 57TARGET_LDFLAGS:append:class-target = " ${SECURITY_LDFLAGS}"
58TARGET_CC_ARCH_append_class-cross-canadian = " ${SECURITY_CFLAGS}" 58TARGET_CC_ARCH:append:class-cross-canadian = " ${SECURITY_CFLAGS}"
59TARGET_LDFLAGS_append_class-cross-canadian = " ${SECURITY_LDFLAGS}" 59TARGET_LDFLAGS:append:class-cross-canadian = " ${SECURITY_LDFLAGS}"
60 60
61SECURITY_STACK_PROTECTOR_pn-gcc-runtime = "" 61SECURITY_STACK_PROTECTOR:pn-gcc-runtime = ""
62SECURITY_STACK_PROTECTOR_pn-glibc = "" 62SECURITY_STACK_PROTECTOR:pn-glibc = ""
63SECURITY_STACK_PROTECTOR_pn-glibc-testsuite = "" 63SECURITY_STACK_PROTECTOR:pn-glibc-testsuite = ""
64# All xorg module drivers need to be linked this way as well and are 64# All xorg module drivers need to be linked this way as well and are
65# handled in recipes-graphics/xorg-driver/xorg-driver-common.inc 65# handled in recipes-graphics/xorg-driver/xorg-driver-common.inc
66SECURITY_LDFLAGS_pn-xserver-xorg = "${SECURITY_X_LDFLAGS}" 66SECURITY_LDFLAGS:pn-xserver-xorg = "${SECURITY_X_LDFLAGS}"
67 67
68TARGET_CC_ARCH_append_pn-binutils = " ${SELECTED_OPTIMIZATION}" 68TARGET_CC_ARCH:append:pn-binutils = " ${SELECTED_OPTIMIZATION}"
69TARGET_CC_ARCH_append_pn-gcc = " ${SELECTED_OPTIMIZATION}" 69TARGET_CC_ARCH:append:pn-gcc = " ${SELECTED_OPTIMIZATION}"
70TARGET_CC_ARCH_append_pn-gdb = " ${SELECTED_OPTIMIZATION}" 70TARGET_CC_ARCH:append:pn-gdb = " ${SELECTED_OPTIMIZATION}"
71TARGET_CC_ARCH_append_pn-perf = " ${SELECTED_OPTIMIZATION}" 71TARGET_CC_ARCH:append:pn-perf = " ${SELECTED_OPTIMIZATION}"