diff options
author | Saul Wold <sgw@linux.intel.com> | 2014-01-14 08:22:18 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-14 17:03:57 +0000 |
commit | e26908ea5f9e78141ecdf5b274fcbd29a1785f26 (patch) | |
tree | d4da884cd22ea4356c08ca649c0ea40f3a989f64 /meta | |
parent | cfa396ba66d82eb8e7e927d2998901d45e1ee637 (diff) | |
download | poky-e26908ea5f9e78141ecdf5b274fcbd29a1785f26.tar.gz |
security_flags: db can't use pie flags from gcc for security build
[YOCTO #5721]
(From OE-Core rev: 0cfe254e7eafed27f512216cccfb7fee76fc0be7)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/conf/distro/include/security_flags.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index 24fbcdc480..e7d4933a36 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc | |||
@@ -8,6 +8,7 @@ SECURITY_CFLAGS_pn-beecrypt = "${SECURITY_NO_PIE_CFLAGS}" | |||
8 | # to CPPFLAGS it gets picked into CFLAGS in bitbake. | 8 | # to CPPFLAGS it gets picked into CFLAGS in bitbake. |
9 | #TARGET_CPPFLAGS_pn-curl += "-D_FORTIFY_SOURCE=2" | 9 | #TARGET_CPPFLAGS_pn-curl += "-D_FORTIFY_SOURCE=2" |
10 | SECURITY_CFLAGS_pn-curl = "-fstack-protector-all -pie -fpie" | 10 | SECURITY_CFLAGS_pn-curl = "-fstack-protector-all -pie -fpie" |
11 | SECURITY_CFLAGS_pn-db = "${SECURITY_NO_PIE_CFLAGS}" | ||
11 | SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}" | 12 | SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}" |
12 | SECURITY_CFLAGS_pn-eglibc = "" | 13 | SECURITY_CFLAGS_pn-eglibc = "" |
13 | SECURITY_CFLAGS_pn-eglibc-initial = "" | 14 | SECURITY_CFLAGS_pn-eglibc-initial = "" |