diff options
author | Khem Raj <raj.khem@gmail.com> | 2022-12-30 23:58:37 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2022-12-31 10:40:32 -0800 |
commit | 0c3d0146a4fb5004d47d333771d013c1c44baf22 (patch) | |
tree | e04476f11a308dd1c5a13f3c96506acb8c3cce03 /meta-python | |
parent | 1a98a89385a0ba89af7300de30e9abe2547e81ac (diff) | |
download | meta-openembedded-0c3d0146a4fb5004d47d333771d013c1c44baf22.tar.gz |
python3-grpcio: Define -D_LARGEFILE64_SOURCE only for musl
On glibc this breaks build when using 64bit time_t since zlib ends up
undefining _FILE_OFFSET_BITS when -D_LARGEFILE64_SOURCE is defined
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-python')
-rw-r--r-- | meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb b/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb index 9a3c3734a..b0971db1c 100644 --- a/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb +++ b/meta-python/recipes-devtools/python/python3-grpcio_1.51.1.bb | |||
@@ -22,7 +22,7 @@ RDEPENDS:${PN} = "${PYTHON_PN}-protobuf \ | |||
22 | inherit setuptools3 | 22 | inherit setuptools3 |
23 | inherit pypi | 23 | inherit pypi |
24 | 24 | ||
25 | CFLAGS += "-D_LARGEFILE64_SOURCE" | 25 | CFLAGS:append:libc-musl = " -D_LARGEFILE64_SOURCE" |
26 | 26 | ||
27 | export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" | 27 | export GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY = "1" |
28 | 28 | ||