mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-06-21 08:52:24 +02:00
Disable PIE
It needs some work in glibc "to be looked" Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -10,3 +10,12 @@ BBFILE_PATTERN_riscv-layer = "^${LAYERDIR}/"
|
||||
BBFILE_PRIORITY_riscv-layer = "6"
|
||||
|
||||
LAYERSERIES_COMPAT_riscv-layer = "sumo"
|
||||
|
||||
# risc-v does not get along with pie for reasons in so far not looked into
|
||||
SECURITY_CFLAGS_riscv64 = "-fstack-protector-strong ${lcl_maybe_fortify} ${SECURITY_NOPIE_CFLAGS}"
|
||||
SECURITY_CFLAGS_pn-libgcc_riscv64 = ""
|
||||
GCCPIE_riscv64 = ""
|
||||
GLIBCPIE_riscv64 = ""
|
||||
|
||||
SECURITY_CFLAGS_pn-riscv-pk = ""
|
||||
SECURITY_LDFLAGS_pn-riscv-pk = ""
|
||||
|
||||
@@ -48,7 +48,4 @@ do_deploy_append_freedom-u540() {
|
||||
}
|
||||
addtask deploy before do_build after do_install
|
||||
|
||||
SECURITY_CFLAGS = "${SECURITY_NOPIE_CFLAGS}"
|
||||
SECURITY_LDFLAGS = ""
|
||||
|
||||
COMPATIBLE_HOST = "(riscv64|riscv32).*-linux"
|
||||
|
||||
Reference in New Issue
Block a user