summaryrefslogtreecommitdiffstats
path: root/meta-oe/conf/distro/include/meta_oe_security_flags.inc
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dmitry_eremin@mentor.com>2015-04-18 17:59:37 +0300
committerMartin Jansa <Martin.Jansa@gmail.com>2015-04-24 15:11:25 +0200
commit43ece2557f2fe620568fc194cbd4403daa8dc00e (patch)
treeecfa0259d1ce051adfa56033237477f69bb800da /meta-oe/conf/distro/include/meta_oe_security_flags.inc
parent4429a3250f8a993fcce55eab44a9b3d413ab86c0 (diff)
downloadmeta-openembedded-43ece2557f2fe620568fc194cbd4403daa8dc00e.tar.gz
meta-oe: override SECURITY_CFLAGS for a set of recipes
Some of recipes produce errors if the distro has enabled usage of security_flags.inc file. Fix those errors (and QA warnings) by providing an additional include file that is require'd from conf/layer.conf. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/conf/distro/include/meta_oe_security_flags.inc')
-rw-r--r--meta-oe/conf/distro/include/meta_oe_security_flags.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc
new file mode 100644
index 000000000..2565e32ad
--- /dev/null
+++ b/meta-oe/conf/distro/include/meta_oe_security_flags.inc
@@ -0,0 +1,7 @@
1# Build errors with the pie options enabled
2SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}"
3SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}"
4
5# This has text reloc errors with the pie options enabled
6SECURITY_CFLAGS_pn-mozjs = "${SECURITY_NO_PIE_CFLAGS}"
7SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}"