diff options
| author | Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com> | 2022-04-08 09:30:04 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-04-10 10:05:35 -0700 |
| commit | b04696ddf8da4aec9d8020ff6dc49b8430e4eb50 (patch) | |
| tree | 06f302bccaba7e6eb551368b8b8df607e3706f9f | |
| parent | 1a91a9cb27847fa4f436bb5810f3ec309d2b86ae (diff) | |
| download | meta-openembedded-b04696ddf8da4aec9d8020ff6dc49b8430e4eb50.tar.gz | |
grpc: remove useless link with libatomic append
The sed commands to link with libatomic don't match and is therefore
useless. If they are really needed the problem should be fixed in the
code for example with CHECK_LIBRARY_EXISTS.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
| -rw-r--r-- | meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb b/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb index 292ea7f9b0..7275f451a7 100644 --- a/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb +++ b/meta-oe/recipes-devtools/grpc/grpc_1.45.1.bb | |||
| @@ -59,26 +59,6 @@ do_configure:prepend() { | |||
| 59 | sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt | 59 | sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | do_configure:prepend:mipsarch() { | ||
| 63 | 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 | ||
| 64 | } | ||
| 65 | |||
| 66 | do_configure:prepend:powerpc() { | ||
| 67 | 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 | ||
| 68 | } | ||
| 69 | |||
| 70 | do_configure:prepend:riscv64() { | ||
| 71 | 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 | ||
| 72 | } | ||
| 73 | |||
| 74 | do_configure:prepend:riscv32() { | ||
| 75 | 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 | ||
| 76 | } | ||
| 77 | |||
| 78 | do_configure:prepend:toolchain-clang:x86() { | ||
| 79 | 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 | ||
| 80 | } | ||
| 81 | |||
| 82 | BBCLASSEXTEND = "native nativesdk" | 62 | BBCLASSEXTEND = "native nativesdk" |
| 83 | 63 | ||
| 84 | FILES:${PN}-compiler += " \ | 64 | FILES:${PN}-compiler += " \ |
