From: Benjamin Grossschartner Date: Wed, 18 Sep 2024 05:11:16 +0000 (+0200) Subject: security-flags: Re-enable pie for power pc X-Git-Tag: yocto-5.2~1769 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9ef9af3874bf435e2f92fdf1ebe852b099fa7b5;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git security-flags: Re-enable pie for power pc pie now works with gcc on powerpc, see: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81170 Signed-off-by: Benjamin Grossschartner Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index d97a6edb0f7..f713a994651 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc @@ -31,12 +31,6 @@ SECURITY_NO_PIE_CFLAGS ?= "${SECURITY_STACK_PROTECTOR} ${lcl_maybe_fortify} ${SE SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now" SECURITY_X_LDFLAGS ?= "-Wl,-z,relro" -# powerpc does not get on with pie for reasons not looked into as yet -GCCPIE:powerpc = "" -GLIBCPIE:powerpc = "" -SECURITY_CFLAGS:remove:powerpc = "${SECURITY_PIE_CFLAGS}" -SECURITY_CFLAGS:pn-libgcc:powerpc = "" - SECURITY_CFLAGS:pn-glibc = "" SECURITY_CFLAGS:pn-glibc-testsuite = "" SECURITY_CFLAGS:pn-gcc-runtime = ""