mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-27 14:08:07 +00:00
rocksdb: Link with pthreads on riscv
Fixes librocksdb.so.6.6.4: undefined reference to `__atomic_compare_exchange_1' collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
0ea2b9992f
commit
e8214f1113
@ -39,3 +39,5 @@ do_install_append() {
|
|||||||
# fix for qa check buildpaths
|
# fix for qa check buildpaths
|
||||||
sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake
|
sed -i "s#${RECIPE_SYSROOT}##g" ${D}${libdir}/cmake/rocksdb/RocksDBTargets.cmake
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LDFLAGS_append_riscv64 = " -pthread"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user