redis: enable pie

This commit is contained in:
Jörg Thalheim 2021-05-23 20:36:52 +02:00
parent ab51a2dbd6
commit c266643ae2
No known key found for this signature in database
GPG key ID: B3F5D81B0C6967C4

View file

@ -37,6 +37,8 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
hardeningEnable = [ "pie" ];
NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ "-std=c11" ]; NIX_CFLAGS_COMPILE = lib.optionals stdenv.cc.isClang [ "-std=c11" ];
doCheck = false; # needs tcl doCheck = false; # needs tcl