From 44b409d69669354fa9e743cc83f9c81a7deca212 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sat, 23 Apr 2022 03:16:47 -0400 Subject: memkind: Don't use `-Werror` when building (#30071) --- var/spack/repos/builtin/packages/memkind/package.py | 2 ++ 1 file changed, 2 insertions(+) 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): -- cgit v1.2.3-70-g09d2