diff options
author | Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> | 2015-04-17 16:41:02 +0300 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-04-21 21:08:06 -0400 |
commit | f23b69928351afa165ad7c25b8cc88c2a661a09e (patch) | |
tree | 5481043edf81e0319bb9153e09c7587b83ffc8e7 /conf/distro | |
parent | 960aff31ba2b02972b93f0a0ec45a2fba2987f48 (diff) | |
download | meta-virtualization-f23b69928351afa165ad7c25b8cc88c2a661a09e.tar.gz |
conf: 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: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'conf/distro')
-rw-r--r-- | conf/distro/include/virt_security_flags.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/distro/include/virt_security_flags.inc b/conf/distro/include/virt_security_flags.inc new file mode 100644 index 00000000..f4c288b8 --- /dev/null +++ b/conf/distro/include/virt_security_flags.inc | |||
@@ -0,0 +1,5 @@ | |||
1 | # Build errors with the pie options enabled | ||
2 | SECURITY_CFLAGS_pn-libvirt = "${SECURITY_NO_PIE_CFLAGS}" | ||
3 | |||
4 | # This has text relco errors with the pie options enabled | ||
5 | SECURITY_CFLAGS_pn-lxc = "${SECURITY_NO_PIE_CFLAGS}" | ||