Re: [oe] [meta-initramfs][PATCH] klibc: fix build on i386 with GCC and security flags enabled

2018-09-14 Thread Andrea Adami
please hold on, v2 is coming. I think -z relro and -z now (data relocation) should be only added if the distro is using security flags. BTW I do this check looking at GCCPIE variable, normally evaluated if security flags are switched on. Note: all this because the standard SECURITY_LDFLAGS

[oe] [meta-initramfs][PATCH] klibc: fix build on i386 with GCC and security flags enabled

2018-09-14 Thread Andrea Adami
Disable pie for powerpc as in security_flags.inc. Fix on i386: ld: discarded output section: `.got.plt' Signed-off-by: Andrea Adami --- meta-initramfs/recipes-devtools/klibc/klibc.inc | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git