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

(From OE-Core rev: f9ef9af3874bf435e2f92fdf1ebe852b099fa7b5)

Signed-off-by: Benjamin Grossschartner <benjamin.grossschartner@urbanandmainlines.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Benjamin Grossschartner
2024-09-18 07:11:16 +02:00
committed by Richard Purdie
parent 5eacd34f89
commit a7da5d525b

View File

@@ -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 = ""