memkind: Don't use -Werror when building (#30071)

This commit is contained in:
Erik Schnetter 2022-04-23 03:16:47 -04:00 committed by GitHub
parent a9fbc0175d
commit 44b409d696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):