summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libxcrypt/package.py4
1 files changed, 3 insertions, 1 deletions
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 @@ class Libxcrypt(AutotoolsPackage):
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