summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/json-c/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/json-c/package.py b/var/spack/repos/builtin/packages/json-c/package.py
index ff243c06c9..6345b22d0b 100644
--- a/var/spack/repos/builtin/packages/json-c/package.py
+++ b/var/spack/repos/builtin/packages/json-c/package.py
@@ -22,5 +22,6 @@ class JsonC(AutotoolsPackage):
@when('@0.12.1 %gcc@7:')
def patch(self):
filter_file('-Wextra',
- '-Wextra -Wno-error=implicit-fallthrough',
+ '-Wextra -Wno-error=implicit-fallthrough '
+ '-Wno-error=unused-but-set-variable',
'Makefile.in')