summary refs log tree commit diff
path: root/pkgs/development/libraries/zeroc-ice/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/zeroc-ice/default.nix')
-rw-r--r--pkgs/development/libraries/zeroc-ice/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/zeroc-ice/default.nix b/pkgs/development/libraries/zeroc-ice/default.nix
index 9a69d3168c5..e4d0c0fde17 100644
--- a/pkgs/development/libraries/zeroc-ice/default.nix
+++ b/pkgs/development/libraries/zeroc-ice/default.nix
@@ -32,6 +32,8 @@ 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" ];
+
   prePatch = lib.optional stdenv.isDarwin ''
     substituteInPlace Make.rules.Darwin \
         --replace xcrun ""