memcached: fix build w/glibc-2.32

This commit is contained in:
Maximilian Bosch
2020-09-12 23:04:45 +02:00
parent 1897ff96d3
commit 7a94f9baa9
+2 -1
View File
@@ -17,7 +17,8 @@ stdenv.mkDerivation rec {
hardeningEnable = [ "pie" ];
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-Wno-error";
NIX_CFLAGS_COMPILE = [ "-Wno-error=deprecated-declarations" ]
++ stdenv.lib.optional stdenv.isDarwin "-Wno-error";
meta = with stdenv.lib; {
description = "A distributed memory object caching system";