mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
tclibc-newlib: update security cflags override
It appears that it is no longer necessary to disable security cflags for newlib targets, with the exception of RISCV architectures where the linker does not support PIE (From OE-Core rev: 94a3459c77ad48caab42ca816d984fe467042ce3) Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
4f8c553cdb
commit
775530999a
@@ -42,6 +42,6 @@ TOOLCHAIN_HOST_TASK ?= "packagegroup-cross-canadian-${MACHINE} nativesdk-qemu na
|
||||
TOOLCHAIN_TARGET_TASK ?= "${LIBC_DEPENDENCIES}"
|
||||
TOOLCHAIN_NEED_CONFIGSITE_CACHE:remove = "zlib ncurses"
|
||||
|
||||
# disable pie security flags by default
|
||||
SECURITY_CFLAGS:libc-newlib = "${SECURITY_NOPIE_CFLAGS}"
|
||||
SECURITY_LDFLAGS:libc-newlib = ""
|
||||
# disable pie security flags by default since RISCV linker doesnt support them
|
||||
SECURITY_CFLAGS:libc-newlib:qemuriscv32 = "${SECURITY_NOPIE_CFLAGS}"
|
||||
SECURITY_CFLAGS:libc-newlib:qemuriscv64 = "${SECURITY_NOPIE_CFLAGS}"
|
||||
|
||||
Reference in New Issue
Block a user