Patchwork security_flags: db can't use pie flags from gcc for security build

login
register
mail settings
Submitter Saul Wold
Date Jan. 14, 2014, 4:22 p.m.
Message ID <1389716538-11252-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/64753/
State Accepted
Commit e26908ea5f9e78141ecdf5b274fcbd29a1785f26
Headers show

Comments

Saul Wold - Jan. 14, 2014, 4:22 p.m.
[YOCTO #5721]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/conf/distro/include/security_flags.inc | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc
index 24fbcdc..e7d4933a 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}"
 # to CPPFLAGS it gets picked into CFLAGS in bitbake.
 #TARGET_CPPFLAGS_pn-curl += "-D_FORTIFY_SOURCE=2"
 SECURITY_CFLAGS_pn-curl = "-fstack-protector-all -pie -fpie"
+SECURITY_CFLAGS_pn-db = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-eglibc = ""
 SECURITY_CFLAGS_pn-eglibc-initial = ""