diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-01-16 10:24:12 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-16 11:12:55 -0800 |
commit | 2b8c1fa1cbfa21fc0044a172fffa5986a0fd4ad0 (patch) | |
tree | a7e9b69d53c0e21db2eb2dd1d01a8926f020d3b6 | |
parent | 0729fa90331a6780eded1ffd814a20dc28a438f3 (diff) | |
download | meta-openembedded-2b8c1fa1cbfa21fc0044a172fffa5986a0fd4ad0.tar.gz |
grpc: Link with libatomic on powerpc
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb | 4 |
1 files changed, 4 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 3cde6f79cc..6ab15dae40 100644 --- a/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb +++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.3.bb | |||
@@ -44,6 +44,10 @@ do_configure_prepend_mipsarch() { | |||
44 | 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 | 44 | 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 |
45 | } | 45 | } |
46 | 46 | ||
47 | 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 | ||
49 | } | ||
50 | |||
47 | do_configure_prepend_toolchain-clang_x86() { | 51 | do_configure_prepend_toolchain-clang_x86() { |
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 | 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 |
49 | } | 53 | } |