diff options
| author | Benjamin Grossschartner <benjamin.grossschartner@urbanandmainlines.com> | 2024-09-18 07:11:16 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-09-20 14:01:02 +0100 |
| commit | a7da5d525b268fc2f1c43112ecbd0f2b8824fcff (patch) | |
| tree | aac093c67ba7b3a22e399ad96feb85c9065ba08b /meta/conf | |
| parent | 5eacd34f897687aa94a53cea327cc782d4868cd0 (diff) | |
| download | poky-a7da5d525b268fc2f1c43112ecbd0f2b8824fcff.tar.gz | |
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>
Diffstat (limited to 'meta/conf')
| -rw-r--r-- | meta/conf/distro/include/security_flags.inc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index d97a6edb0f..f713a99465 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 | |||
| 31 | SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now" | 31 | SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now" |
| 32 | SECURITY_X_LDFLAGS ?= "-Wl,-z,relro" | 32 | SECURITY_X_LDFLAGS ?= "-Wl,-z,relro" |
| 33 | 33 | ||
| 34 | # powerpc does not get on with pie for reasons not looked into as yet | ||
| 35 | GCCPIE:powerpc = "" | ||
| 36 | GLIBCPIE:powerpc = "" | ||
| 37 | SECURITY_CFLAGS:remove:powerpc = "${SECURITY_PIE_CFLAGS}" | ||
| 38 | SECURITY_CFLAGS:pn-libgcc:powerpc = "" | ||
| 39 | |||
| 40 | SECURITY_CFLAGS:pn-glibc = "" | 34 | SECURITY_CFLAGS:pn-glibc = "" |
| 41 | SECURITY_CFLAGS:pn-glibc-testsuite = "" | 35 | SECURITY_CFLAGS:pn-glibc-testsuite = "" |
| 42 | SECURITY_CFLAGS:pn-gcc-runtime = "" | 36 | SECURITY_CFLAGS:pn-gcc-runtime = "" |
