rapidjson: fix gcc7 compile error

This commit is contained in:
xeji 2018-03-08 11:42:30 +01:00
parent b778e99fc3
commit 81776365f4

View file

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig cmake ];
# detected by gcc7
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ];
meta = with lib; {
description = "Fast JSON parser/generator for C++ with both SAX/DOM style API";
homepage = "http://rapidjson.org/";