aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2014-02-26 14:48:17 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-02-26 13:39:33 +0000
commitc564bffe7a32470578a22b70e868e7bec2da0a69 (patch)
treec62579e87cdcc2438c1188fd159972089c277b79
parent5a4b5c6b8ebd5f8d29888aafcd9608e03717bcd5 (diff)
downloadopenembedded-core-c564bffe7a32470578a22b70e868e7bec2da0a69.tar.gz
openembedded-core-c564bffe7a32470578a22b70e868e7bec2da0a69.tar.bz2
openembedded-core-c564bffe7a32470578a22b70e868e7bec2da0a69.zip
security_flags: disable PIE flags for cups builds
Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/conf/distro/include/security_flags.inc1
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 e7d4933a36..93d635556e 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -7,6 +7,7 @@ SECURITY_CFLAGS_pn-beecrypt = "${SECURITY_NO_PIE_CFLAGS}"
# Curl seems to check for FORTIFY_SOURCE in CFLAGS, but even assigned
# to CPPFLAGS it gets picked into CFLAGS in bitbake.
#TARGET_CPPFLAGS_pn-curl += "-D_FORTIFY_SOURCE=2"
+SECURITY_CFLAGS_pn-cups = "${SECURITY_NO_PIE_CLAGS}"
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}"