3
0
Fork 0
forked from mirrors/nixpkgs

memcached: fix build w/glibc-2.32

This commit is contained in:
Maximilian Bosch 2020-08-11 14:57:57 +02:00
parent 1897ff96d3
commit 7a94f9baa9
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

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";