diff options
-rw-r--r-- | var/spack/repos/builtin/packages/mcl/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mcl/package.py b/var/spack/repos/builtin/packages/mcl/package.py index c60fb038b6..457abaf364 100644 --- a/var/spack/repos/builtin/packages/mcl/package.py +++ b/var/spack/repos/builtin/packages/mcl/package.py @@ -15,3 +15,8 @@ class Mcl(AutotoolsPackage): url = "https://www.micans.org/mcl/src/mcl-14-137.tar.gz" version('14-137', sha256='b5786897a8a8ca119eb355a5630806a4da72ea84243dba85b19a86f14757b497') + + @when('%gcc@10:') + def patch(self): + filter_file('^dim', 'extern dim', 'src/impala/iface.h') + filter_file('^double', 'extern double', 'src/impala/iface.h') |