diff options
author | xeji <xeji@cat3.de> | 2018-03-08 11:42:30 +0100 |
---|---|---|
committer | xeji <xeji@cat3.de> | 2018-03-08 11:42:30 +0100 |
commit | 81776365f460730906835057cc7f72dfb594f5a3 (patch) | |
tree | 5d1064b24cc92c5d7daa83d3073dc0d3e9de9c22 /pkgs/development/libraries/rapidjson | |
parent | b778e99fc38ccaacb4b6d05db9533f46f0e0f891 (diff) | |
download | nixpkgs-81776365f460730906835057cc7f72dfb594f5a3.tar nixpkgs-81776365f460730906835057cc7f72dfb594f5a3.tar.gz nixpkgs-81776365f460730906835057cc7f72dfb594f5a3.tar.bz2 nixpkgs-81776365f460730906835057cc7f72dfb594f5a3.tar.lz nixpkgs-81776365f460730906835057cc7f72dfb594f5a3.tar.xz nixpkgs-81776365f460730906835057cc7f72dfb594f5a3.tar.zst nixpkgs-81776365f460730906835057cc7f72dfb594f5a3.zip |
rapidjson: fix gcc7 compile error
Diffstat (limited to 'pkgs/development/libraries/rapidjson')
-rw-r--r-- | pkgs/development/libraries/rapidjson/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/rapidjson/default.nix b/pkgs/development/libraries/rapidjson/default.nix index 5e9a11d4251..8e6b3b44491 100644 --- a/pkgs/development/libraries/rapidjson/default.nix +++ b/pkgs/development/libraries/rapidjson/default.nix @@ -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/"; |