py-grpcio: fixed build with Fujitsu compilers (#16900)

This commit is contained in:
takanori-ihara 2020-06-02 17:55:55 +09:00 committed by GitHub
parent 6aa0e9944e
commit 0875c6a5d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -29,3 +29,7 @@ def setup_build_environment(self, env):
env.set('GRPC_PYTHON_BUILD_SYSTEM_OPENSSL', True)
env.set('GRPC_PYTHON_BUILD_SYSTEM_ZLIB', True)
env.set('GRPC_PYTHON_BUILD_SYSTEM_CARES', True)
def patch(self):
if self.spec.satisfies('%fj'):
filter_file("-std=gnu99", "", "setup.py")