From 7d099808f0b6dcba62851a4976e1bc0c6a51d084 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 24 Aug 2022 23:14:14 -0700 Subject: [PATCH] python3-grpcio: Enable largefile support explicitly This ensures that third party packages like zlib can get this in CFLAGS Signed-off-by: Khem Raj --- meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb index 24c6e53447..0950114b02 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.47.0.bb @@ -23,6 +23,8 @@ RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \ inherit setuptools3 inherit pypi +CFLAGS += "-D_LARGEFILE64_SOURCE" + export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" BORING_SSL_PLATFORM:arm = "linux-arm"