summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/memkind/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/memkind/package.py b/var/spack/repos/builtin/packages/memkind/package.py
index d50de4119a..612f0ebe9a 100644
--- a/var/spack/repos/builtin/packages/memkind/package.py
+++ b/var/spack/repos/builtin/packages/memkind/package.py
@@ -41,6 +41,8 @@ class Memkind(AutotoolsPackage):
def patch(self):
with open('VERSION', 'w') as version_file:
version_file.write('{0}\n'.format(self.version))
+ # Remove `-Werror`
+ filter_file(r" -Werror ", " ", "Makefile.am", "configure.ac")
@run_before('autoreconf')
def build_jemalloc(self):