diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-28 13:48:33 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-28 13:55:35 -0800 |
commit | e82f1802a60d451f978cdef0f2ff69feb1f12039 (patch) | |
tree | 1dbce0f01603a377f3a907b523dc1e32179b476b /meta-networking/recipes-devtools | |
parent | 626209aabb5684316eba0d4b762980924d783c93 (diff) | |
download | meta-openembedded-contrib-e82f1802a60d451f978cdef0f2ff69feb1f12039.tar.gz |
grpc: Link with libatomic on riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-devtools')
-rw-r--r-- | meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb b/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb index 6ab15dae40..752562eb33 100644 --- a/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb +++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb @@ -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 } |