summaryrefslogtreecommitdiffstats
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:48:20 +0000
commit8117e011476f9491d618d8b9dcc154409d2b83d4 (patch)
tree7bdd0c5747ce0e11b85e0efb7cec57303aeee084
parente47afff7d812c74f8091d85facfdf34d6a1b698e (diff)
downloadpoky-8117e011476f9491d618d8b9dcc154409d2b83d4.tar.gz
poky-8117e011476f9491d618d8b9dcc154409d2b83d4.tar.bz2
poky-8117e011476f9491d618d8b9dcc154409d2b83d4.zip
security_flags: disable PIE flags for cups builds
(From OE-Core rev: c564bffe7a32470578a22b70e868e7bec2da0a69) 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}"