diff options
author | takanori-ihara <62980219+takanori-ihara@users.noreply.github.com> | 2020-06-02 17:55:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-02 10:55:55 +0200 |
commit | 0875c6a5d0ba8a951f86805814d4eb0ba3f3997e (patch) | |
tree | 18ef8a78d1ecd3fd6807a4bd5bc6098100adc088 /var | |
parent | 6aa0e9944e5fedb518ff23904d5019027800aace (diff) | |
download | spack-0875c6a5d0ba8a951f86805814d4eb0ba3f3997e.tar.gz spack-0875c6a5d0ba8a951f86805814d4eb0ba3f3997e.tar.bz2 spack-0875c6a5d0ba8a951f86805814d4eb0ba3f3997e.tar.xz spack-0875c6a5d0ba8a951f86805814d4eb0ba3f3997e.zip |
py-grpcio: fixed build with Fujitsu compilers (#16900)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-grpcio/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-grpcio/package.py b/var/spack/repos/builtin/packages/py-grpcio/package.py index 18981f20e4..e40d3c0532 100644 --- a/var/spack/repos/builtin/packages/py-grpcio/package.py +++ b/var/spack/repos/builtin/packages/py-grpcio/package.py @@ -29,3 +29,7 @@ class PyGrpcio(PythonPackage): 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") |