aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-01-16 10:24:12 -0800
committerArmin Kuster <akuster808@gmail.com>2020-01-30 18:34:21 -0800
commita82494272d3cd477648c630a84f0005b4f9d1018 (patch)
tree0de6211a0d2c4ebe6feb9f1f1b6894d5e27a0c6e
parent189ba6b49974934d0aa7b1d77996570b7a65b1a9 (diff)
downloadmeta-openembedded-contrib-a82494272d3cd477648c630a84f0005b4f9d1018.tar.gz
meta-openembedded-contrib-a82494272d3cd477648c630a84f0005b4f9d1018.tar.bz2
meta-openembedded-contrib-a82494272d3cd477648c630a84f0005b4f9d1018.zip
grpc: Link with libatomic on powerpc
Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 2b8c1fa1cbfa21fc0044a172fffa5986a0fd4ad0) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
index c11b55669a..34b4e317be 100644
--- a/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
+++ b/meta-networking/recipes-devtools/grpc/grpc_1.24.1.bb
@@ -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
}