mirror of
https://github.com/Fishwaldo/meta-riscv.git
synced 2025-03-15 19:41:42 +00:00
riscv64: Disable ssp and fortify flags
They result in linking errors, -fstack-protector-strong wants libssp libdrm errors when using -fstack-protector-strong drm@sha/xf86drmSL.c.o: relocation R_RISCV_HI20 against `__stack_chk_guard@@GLIBC_2.27' can not be used when making a shared object; recompile with -fPIC libdrm errors when using fortify options rm@sha/xf86drm.c.o(.text+0x3ce2): unresolvable R_RISCV_CALL relocation against symbol `strdup@@GLIBC_2.27' For now just disable the whole shebang Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
09732c2049
commit
a4a81b0abc
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ 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_riscv64 = ""
|
||||
SECURITY_CFLAGS_pn-libgcc_riscv64 = ""
|
||||
GCCPIE_riscv64 = ""
|
||||
GLIBCPIE_riscv64 = ""
|
||||
|
|
Loading…
Add table
Reference in a new issue