diff --git a/var/spack/repos/builtin/packages/libxcrypt/package.py b/var/spack/repos/builtin/packages/libxcrypt/package.py index 6749ff446a..8ede20d276 100644 --- a/var/spack/repos/builtin/packages/libxcrypt/package.py +++ b/var/spack/repos/builtin/packages/libxcrypt/package.py @@ -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