mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
minifi-cpp: Do not use lld on riscv32
Fixes errors like | riscv32-yoe-linux-ld.lld: error: init.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax | riscv32-yoe-linux-ld.lld: error: testCCompiler.c:(.text+0x0): relocation R_RISCV_ALIGN requires unimplemented linker relaxation; recompile with -mno-relax Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -55,6 +55,7 @@ EXTRA_OECMAKE += " \
|
|||||||
"
|
"
|
||||||
EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib"
|
EXTRA_OECMAKE_append_toolchain-clang = " -DCMAKE_RANLIB=${STAGING_BINDIR_TOOLCHAIN}/${TARGET_PREFIX}llvm-ranlib"
|
||||||
LDFLAGS_append_toolchain-clang = " -fuse-ld=lld"
|
LDFLAGS_append_toolchain-clang = " -fuse-ld=lld"
|
||||||
|
LDFLAGS_remove_riscv32 = "-fuse-ld=lld"
|
||||||
|
|
||||||
# There are endian issues when communicating with the x86 nifi on the the mips and the ppc machines.
|
# There are endian issues when communicating with the x86 nifi on the the mips and the ppc machines.
|
||||||
COMPATIBLE_MACHINE_mips = "(!.*mips).*"
|
COMPATIBLE_MACHINE_mips = "(!.*mips).*"
|
||||||
|
|||||||
Reference in New Issue
Block a user