rspamd: enable pie
commit0793950a1bd6235049d63a09cb1ac0cfd9a45885
authorJörg Thalheim <joerg@thalheim.io>
dateSun 23 May 2021, 20:36 (5 years ago)
parentab51a2d
pkgs/servers/mail/rspamd/default.nix+2
@@ -20,6 +20,8 @@ stdenv.mkDerivation rec {
2020 sha256 = "sha256-LMLRDnKfGpApVsIvPNY2nxl+H5+qeVvwvwr3wdyyhjs=";
2121 };
2222
23+ hardeningEnable = [ "pie" ];
24+
2325 nativeBuildInputs = [ cmake pkg-config perl ];
2426 buildInputs = [ glib openssl pcre sqlite ragel icu jemalloc libsodium ]
2527 ++ lib.optional withHyperscan hyperscan