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 | |
parent | 626209aabb5684316eba0d4b762980924d783c93 (diff) | |
download | meta-openembedded-e82f1802a60d451f978cdef0f2ff69feb1f12039.tar.gz |
grpc: Link with libatomic on riscv
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-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() { | |||
48 | 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 | 48 | 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 |
49 | } | 49 | } |
50 | 50 | ||
51 | do_configure_prepend_riscv64() { | ||
52 | 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 | ||
53 | } | ||
54 | |||
55 | do_configure_prepend_riscv32() { | ||
56 | 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 | ||
57 | } | ||
58 | |||
51 | do_configure_prepend_toolchain-clang_x86() { | 59 | do_configure_prepend_toolchain-clang_x86() { |
52 | 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 | 60 | 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 |
53 | } | 61 | } |