mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
machine/arch-riscv: Fix newlib and baremetal builds
Fix the following errors for newlib and baremetal libcs: ld: unrecognized option '--hash-style=sysv' ld: unrecognized option '--hash-style=gnu' (From OE-Core rev: 8ae998fa8dd216d008cc9ddbea98bbb945501e41) Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e0ce87bf85
commit
5125464811
@@ -8,3 +8,8 @@ TUNE_CCARGS .= ""
|
||||
|
||||
# QEMU usermode fails with invalid instruction error (For riscv32)
|
||||
MACHINE_FEATURES_BACKFILL_CONSIDERED_append = "${@bb.utils.contains('TUNE_FEATURES', 'riscv32', ' qemu-usermode', '', d)}"
|
||||
|
||||
# Fix: ld: unrecognized option '--hash-style=sysv'
|
||||
LINKER_HASH_STYLE_libc-newlib = ""
|
||||
# Fix: ld: unrecognized option '--hash-style=gnu'
|
||||
LINKER_HASH_STYLE_libc-baremetal = ""
|
||||
|
||||
Reference in New Issue
Block a user