Merge pull request #36512 from xeji/rapidjson-gcc7

rapidjson: fix build error with gcc7
This commit is contained in:
Jörg Thalheim 2018-03-08 22:21:49 +00:00 committed by GitHub
commit 1a7b5493c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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/";