json-c*: fixup build with gcc-7 (ignore warning)

This commit is contained in:
Vladimír Čunát
2017-11-12 12:36:30 +01:00
parent c65c1f6434
commit 9e7021c97d
2 changed files with 6 additions and 0 deletions
@@ -11,6 +11,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoreconfHook ]; # won't configure without it, no idea why
# probably OK after update: https://github.com/json-c/json-c/pull/365
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ];
# compatibility hack (for mypaint at least)
postInstall = ''
ln -s json-c.pc "$dev/lib/pkgconfig/json.pc"