mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
fuse3: Fix build with clang on riscv32
Clang needs 64-bit atomics on rv32 here and builtins does
not have them so help it by linking with libatomic
Fixes
riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e3257c3360)
Signed-off-by: Ankur Tyagi <ankur.tyagi85@gmail.com>
Signed-off-by: Anuj Mittal <anuj.mittal@oss.qualcomm.com>
This commit is contained in:
@@ -25,6 +25,9 @@ CVE_PRODUCT = "fuse_project:fuse"
|
|||||||
|
|
||||||
inherit meson pkgconfig ptest
|
inherit meson pkgconfig ptest
|
||||||
|
|
||||||
|
# fix riscv32-yoe-linux-musl-ld.lld: error: undefined symbol: __atomic_fetch_add_8
|
||||||
|
LDFLAGS:append:toolchain-clang:riscv32 = " -latomic"
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
file://fuse3.conf \
|
file://fuse3.conf \
|
||||||
|
|||||||
Reference in New Issue
Block a user