summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoriarspider <iarspider@gmail.com>2019-12-11 00:34:50 +0100
committerAdam J. Stewart <ajstewart426@gmail.com>2019-12-10 17:34:50 -0600
commit3cd6ca02d2d58c42d6864b25ed5e4479557eaa8c (patch)
tree8ae1228462a6d29a112fb6c8b9534327a3324885
parentec060f3d9c79082580f1d582d67b1703b3af4815 (diff)
downloadspack-3cd6ca02d2d58c42d6864b25ed5e4479557eaa8c.tar.gz
spack-3cd6ca02d2d58c42d6864b25ed5e4479557eaa8c.tar.bz2
spack-3cd6ca02d2d58c42d6864b25ed5e4479557eaa8c.tar.xz
spack-3cd6ca02d2d58c42d6864b25ed5e4479557eaa8c.zip
Fix json-c package (#14087)
* Fix json-c package * Fix PEP-8 * Update package.py * Update package.py
-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')