getxbook: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 13:28:02 +01:00
parent 90452593fb
commit e8a0029dbf
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

@ -9,7 +9,11 @@ stdenv.mkDerivation rec {
sha256 = "0ihwrx4gspj8l7fc8vxch6dpjrw1lvv9z3c19f0wxnmnxhv1cjvs";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-truncation" "-Wno-error=deprecated-declarations" ];
NIX_CFLAGS_COMPILE = [
"-Wno-error=format-truncation"
"-Wno-error=deprecated-declarations"
"-Wno-error=stringop-overflow"
];
buildInputs = [ openssl ];