summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/json-c/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/json-c/package.py b/var/spack/repos/builtin/packages/json-c/package.py
index 0c44e01c17..1f5c6706a9 100644
--- a/var/spack/repos/builtin/packages/json-c/package.py
+++ b/var/spack/repos/builtin/packages/json-c/package.py
@@ -41,3 +41,9 @@ class JsonC(CMakePackage):
@when('@:0.13.1')
def install(self, spec, prefix):
make('install')
+
+ @when('%cce@11.0.3:')
+ def patch(self):
+ filter_file('-Werror',
+ '',
+ 'CMakeLists.txt')