summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authortakanori-ihara <62980219+takanori-ihara@users.noreply.github.com>2020-06-02 17:55:55 +0900
committerGitHub <noreply@github.com>2020-06-02 10:55:55 +0200
commit0875c6a5d0ba8a951f86805814d4eb0ba3f3997e (patch)
tree18ef8a78d1ecd3fd6807a4bd5bc6098100adc088 /var
parent6aa0e9944e5fedb518ff23904d5019027800aace (diff)
downloadspack-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.py4
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")