package/grpc: fix build with uclibc on x86_64
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 2 Jun 2019 16:25:57 +0000 (18:25 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sat, 8 Jun 2019 18:53:51 +0000 (20:53 +0200)
commit0cd2df5f8ac5ea8b56765cc34f2d17d4b3b04b4d
treeaf2eb97843d20a2390300ec40b0c16560ebd5bd9
parentc116f62066a269657ca8e5484c91693b1caaf9b9
package/grpc: fix build with uclibc on x86_64

On x86_64 if GPR_MUSL_LIBC_COMPAT is not set, grpc tries to link with
memcpy@GLIBC_2.2.5, see:
https://github.com/grpc/grpc/blob/618a3f561d4a93f263cca23abad086ed8f4d5e86/src/core/lib/gpr/wrap_memcpy.cc

Add a new GPR_DISABLE_WRAPPED_MEMCPY to disable wrapped memory without
changing CPU behavior

Fixes:
 - http://autobuild.buildroot.org/results/20d6f2489a4e291a53bd514da66105eb607e1014

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/grpc/0003-wrap_memcpy.cc-add-GPR_DISABLE_WRAPPED_MEMCPY.patch [new file with mode: 0644]
package/grpc/grpc.mk