mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-14 22:35:25 +01:00
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>
This commit is contained in:
parent
1a91a9cb27
commit
b04696ddf8
|
|
@ -59,26 +59,6 @@ do_configure:prepend() {
|
|||
sed -i -e "s#lib/pkgconfig/#${baselib}/pkgconfig/#g" ${S}/CMakeLists.txt
|
||||
}
|
||||
|
||||
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:riscv64() {
|
||||
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:riscv32() {
|
||||
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
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
FILES:${PN}-compiler += " \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user