niftyreg: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 13:36:25 +01:00
parent e1d4b37f49
commit 8e63a6cd13
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -9,6 +9,8 @@ stdenv.mkDerivation rec {
sha256 = "07v9v9s41lvw72wpb1jgh2nzanyc994779bd35p76vg8mzifmprl";
};
NIX_CFLAGS_COMPILE = [ "-Wno-error=narrowing" ];
nativeBuildInputs = [ cmake ];
buildInputs = [ zlib ];
enableParallelBuilding = true;