mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-08-12 15:31:38 +00:00
tbb: Link with libatomic when using clang compiler on rv32
This helps fixing opencv builds where lack of libatomic link in tbb ends up with build failures e.g. riscv32-yoe-linux-ld: lib/libopencv_core.so.4.5.2: undefined reference to `__atomic_fetch_add_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
2178fd7386
commit
c2aafe4737
@ -45,6 +45,7 @@ ASNEEDED = ""
|
||||
|
||||
LDFLAGS:append:mips = " -latomic"
|
||||
LDFLAGS:append:mipsel = " -latomic"
|
||||
LDFLAGS:append:riscv32:toolchain-clang = " -latomic"
|
||||
|
||||
LDFLAGS:append:libc-musl = " -lucontext"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user