Skip to content

Commit

Permalink
grpc: Link with libatomic on powerpc
Browse files Browse the repository at this point in the history
Signed-off-by: Khem Raj <[email protected]>
(cherry picked from commit 2b8c1fa)
Signed-off-by: Armin Kuster <[email protected]>
  • Loading branch information
kraj authored and akuster committed Jan 31, 2020
1 parent 189ba6b commit a824942
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ do_configure_prepend_mipsarch() {
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_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_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
}
Expand Down

0 comments on commit a824942

Please sign in to comment.