diff --git a/dev-python/grpcio/grpcio-1.75.0.ebuild b/dev-python/grpcio/grpcio-1.75.0.ebuild index 60ea176de5076..5bf2adb76e24e 100644 --- a/dev-python/grpcio/grpcio-1.75.0.ebuild +++ b/dev-python/grpcio/grpcio-1.75.0.ebuild @@ -59,6 +59,11 @@ src_prepare() { } src_configure() { + # -Werror=odr -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856775 + # https://github.com/grpc/grpc/issues/36158 + filter-lto + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" # system abseil-cpp crashes with USE=-debug, sigh # https://bugs.gentoo.org/942021 diff --git a/dev-python/grpcio/grpcio-1.75.1.ebuild b/dev-python/grpcio/grpcio-1.75.1.ebuild index af90d2bd84ad9..80b83ea4e36c3 100644 --- a/dev-python/grpcio/grpcio-1.75.1.ebuild +++ b/dev-python/grpcio/grpcio-1.75.1.ebuild @@ -59,6 +59,11 @@ src_prepare() { } src_configure() { + # -Werror=odr -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856775 + # https://github.com/grpc/grpc/issues/36158 + filter-lto + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" # system abseil-cpp crashes with USE=-debug, sigh # https://bugs.gentoo.org/942021 diff --git a/dev-python/grpcio/grpcio-1.76.0.ebuild b/dev-python/grpcio/grpcio-1.76.0.ebuild index af90d2bd84ad9..80b83ea4e36c3 100644 --- a/dev-python/grpcio/grpcio-1.76.0.ebuild +++ b/dev-python/grpcio/grpcio-1.76.0.ebuild @@ -59,6 +59,11 @@ src_prepare() { } src_configure() { + # -Werror=odr -Werror=lto-type-mismatch + # https://bugs.gentoo.org/856775 + # https://github.com/grpc/grpc/issues/36158 + filter-lto + export GRPC_PYTHON_BUILD_EXT_COMPILER_JOBS="$(makeopts_jobs)" # system abseil-cpp crashes with USE=-debug, sigh # https://bugs.gentoo.org/942021