mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-14 05:49:57 +00:00
grpc: Link with libatomic on riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e82f1802a6)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
@@ -48,6 +48,14 @@ do_configure_prepend_powerpc() {
|
||||
sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
|
||||
}
|
||||
|
||||
do_configure_prepend_riscv64() {
|
||||
sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
|
||||
}
|
||||
|
||||
do_configure_prepend_riscv32() {
|
||||
sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
|
||||
}
|
||||
|
||||
do_configure_prepend_toolchain-clang_x86() {
|
||||
sed -i -e "s/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} rt m pthread)/set(_gRPC_ALLTARGETS_LIBRARIES \${CMAKE_DL_LIBS} atomic rt m pthread)/g" ${S}/CMakeLists.txt
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user