forked from mirrors/nixpkgs
memcached: disable treating warnings as errors on darwin
PIE hardening is not available on darwin but it's just a warning.
This commit is contained in:
parent
f29214caed
commit
35d836660f
|
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
hardeningEnable = [ "pie" ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optionalString stdenv.isDarwin "-Wno-error";
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A distributed memory object caching system";
|
||||
repositories.git = https://github.com/memcached/memcached.git;
|
||||
|
|
Loading…
Reference in a new issue