rapidjson: fix gcc7 compile error
This commit is contained in:
parent
b778e99fc3
commit
81776365f4
1 changed files with 3 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue