[oe] [master][pyro][PATCH] meta_oe_security_flags.inc: Disable PIE for libdevmapper

Peter Kjellerstedt peter.kjellerstedt at axis.com
Fri Apr 28 14:23:07 UTC 2017


Since libdevmapper was split out from lvm2, it now needs its own entry
to disable building with -fpie.

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
---
 meta-oe/conf/distro/include/meta_oe_security_flags.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc
index 815fb16c7..03868bfaf 100644
--- a/meta-oe/conf/distro/include/meta_oe_security_flags.inc
+++ b/meta-oe/conf/distro/include/meta_oe_security_flags.inc
@@ -1,5 +1,6 @@
 # Build errors with the pie options enabled
 SECURITY_CFLAGS_pn-libdbus-c++ = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-libdevmapper = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}"
 
-- 
2.12.0




More information about the Openembedded-devel mailing list