summaryrefslogtreecommitdiffstats
path: root/meta/conf/distro
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 /meta/conf/distro
parente47afff7d812c74f8091d85facfdf34d6a1b698e (diff)
downloadpoky-8117e011476f9491d618d8b9dcc154409d2b83d4.tar.gz
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>
Diffstat (limited to 'meta/conf/distro')
-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}"
7# Curl seems to check for FORTIFY_SOURCE in CFLAGS, but even assigned 7# Curl seems to check for FORTIFY_SOURCE in CFLAGS, but even assigned
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"
10SECURITY_CFLAGS_pn-cups = "${SECURITY_NO_PIE_CLAGS}"
10SECURITY_CFLAGS_pn-curl = "-fstack-protector-all -pie -fpie" 11SECURITY_CFLAGS_pn-curl = "-fstack-protector-all -pie -fpie"
11SECURITY_CFLAGS_pn-db = "${SECURITY_NO_PIE_CFLAGS}" 12SECURITY_CFLAGS_pn-db = "${SECURITY_NO_PIE_CFLAGS}"
12SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}" 13SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}"