mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
zeroc-ice: fix build with gcc9
This commit is contained in:
parent
55a30b39f5
commit
2706e7a961
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue