summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro/include/security_flags.inc
diff options
context:
space:
mode:
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}"