zeroc-ice: fix build with gcc9

This commit is contained in:
Franz Pletz 2019-11-03 14:09:30 +01:00
parent 55a30b39f5
commit 2706e7a961
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -32,7 +32,7 @@ in stdenv.mkDerivation rec {
buildInputs = [ zeroc_mcpp bzip2 expat openssl lmdb ]
++ lib.optionals stdenv.isDarwin [ darwin.cctools libiconv Security ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=class-memaccess" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=class-memaccess" "-Wno-error=deprecated-copy" ];
prePatch = lib.optional stdenv.isDarwin ''
substituteInPlace Make.rules.Darwin \