mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
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:
committed by
Richard Purdie
parent
5eacd34f89
commit
a7da5d525b
@@ -31,12 +31,6 @@ SECURITY_NO_PIE_CFLAGS ?= "${SECURITY_STACK_PROTECTOR} ${lcl_maybe_fortify} ${SE
|
|||||||
SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now"
|
SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now"
|
||||||
SECURITY_X_LDFLAGS ?= "-Wl,-z,relro"
|
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 = ""
|
||||||
SECURITY_CFLAGS:pn-glibc-testsuite = ""
|
SECURITY_CFLAGS:pn-glibc-testsuite = ""
|
||||||
SECURITY_CFLAGS:pn-gcc-runtime = ""
|
SECURITY_CFLAGS:pn-gcc-runtime = ""
|
||||||
|
|||||||
Reference in New Issue
Block a user