diff options
-rw-r--r-- | meta-oe/conf/distro/include/meta_oe_security_flags.inc | 7 | ||||
-rw-r--r-- | meta-oe/conf/layer.conf | 3 |
2 files changed, 10 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 | ||
2 | SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}" | ||
3 | SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}" | ||
4 | |||
5 | # This has text reloc errors with the pie options enabled | ||
6 | SECURITY_CFLAGS_pn-mozjs = "${SECURITY_NO_PIE_CFLAGS}" | ||
7 | SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}" | ||
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index e2a89cdae..7af9b3dd7 100644 --- a/meta-oe/conf/layer.conf +++ b/meta-oe/conf/layer.conf | |||
@@ -44,3 +44,6 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ | |||
44 | " | 44 | " |
45 | 45 | ||
46 | FREESMARTPHONE_GIT = "git://git.freesmartphone.org" | 46 | FREESMARTPHONE_GIT = "git://git.freesmartphone.org" |
47 | |||
48 | # Override security flags | ||
49 | require conf/distro/include/meta_oe_security_flags.inc | ||