mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
abseil-cpp: Link with libatomic on riscv32
64-bit builtins for atomics are not provided by compiler Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
6afcc7939e
commit
5761dacc36
|
|
@ -21,6 +21,9 @@ EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON \
|
|||
-DBUILD_TESTING=OFF \
|
||||
-DABSL_ENABLE_INSTALL=ON \
|
||||
"
|
||||
# riscv32-yoe-linux-ld.lld: error: undefined reference: __atomic_store_8
|
||||
# >>> referenced by <recipe-sysroot>/usr/lib/libabsl_flags_internal.so.2505.0.0 (disallowed by --no-allow-shlib-undefined)
|
||||
LDFLAGS:append:riscv32 = " -latomic"
|
||||
|
||||
SYSROOT_DIRS:append:class-nativesdk:mingw32 = " ${bindir}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user