libxcrypt: Disable -Werror (#34013)

This commit is contained in:
Erik Schnetter 2022-11-19 08:29:50 -05:00 committed by GitHub
parent 409cf185ce
commit 6d0a8f78b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,9 +30,11 @@ def url_for_version(self, version):
patch("truncating-conversion.patch", when="@4.4.30")
def configure_args(self):
# Disable test dependency on Python (Python itself depends on libxcrypt).
args = [
# Disable test dependency on Python (Python itself depends on libxcrypt).
"ac_cv_path_python3_passlib=not found",
# Disable -Werror, which breaks with newer compilers
"--disable-werror",
]
args += self.enable_or_disable("obsolete-api", variant="obsolete_api")
return args