diff options
-rw-r--r-- | conf/distro/include/virt_security_flags.inc | 5 | ||||
-rw-r--r-- | conf/layer.conf | 3 |
2 files changed, 8 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}" | ||
diff --git a/conf/layer.conf b/conf/layer.conf index 7ae9d093..f5c1b1ec 100644 --- a/conf/layer.conf +++ b/conf/layer.conf | |||
@@ -16,3 +16,6 @@ LICENSE_PATH += "${LAYERDIR}/files/custom-licenses" | |||
16 | LAYERVERSION_virtualization-layer = "1" | 16 | LAYERVERSION_virtualization-layer = "1" |
17 | 17 | ||
18 | LAYERDEPENDS_virtualization-layer = "core networking-layer" | 18 | LAYERDEPENDS_virtualization-layer = "core networking-layer" |
19 | |||
20 | # Override security flags | ||
21 | require conf/distro/include/virt_security_flags.inc | ||