]> code.ossystems Code Review - openembedded-core.git/commitdiff
security_flags: disable PIE on expect
authorRoss Burton <ross.burton@intel.com>
Wed, 28 Jan 2015 12:40:07 +0000 (12:40 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Jan 2015 10:37:54 +0000 (10:37 +0000)
Disable PIE in expect as otherwise it tries to link the shared library as an
executable.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/conf/distro/include/security_flags.inc

index f996184b2596355c0f82a002a1edb16a9dd7d351..16a574868095788f00ef61a0e68ed1a676ee0941 100644 (file)
@@ -27,6 +27,7 @@ SECURITY_CFLAGS_pn-directfb = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-glibc = ""
 SECURITY_CFLAGS_pn-glibc-initial = ""
 SECURITY_CFLAGS_pn-enchant = "${SECURITY_NO_PIE_CFLAGS}"
+SECURITY_CFLAGS_pn-expect = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-flac = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-gcc-runtime = "${SECURITY_NO_PIE_CFLAGS}"
 SECURITY_CFLAGS_pn-gcc-sanitizers = "${SECURITY_NO_PIE_CFLAGS}"