diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2016-02-15 04:27:49 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-02-15 04:29:25 +0100 |
commit | f415c07703496a468ebee17e90b05f3b9a69cc93 (patch) | |
tree | e8f4347f61d53b95d6dbe513cc3412496f8af6d0 /pkgs/tools/networking/unbound | |
parent | 7bf80c9875e0b9fba892c9e50046a9914bf172f5 (diff) | |
download | nixlib-f415c07703496a468ebee17e90b05f3b9a69cc93.tar nixlib-f415c07703496a468ebee17e90b05f3b9a69cc93.tar.gz nixlib-f415c07703496a468ebee17e90b05f3b9a69cc93.tar.bz2 nixlib-f415c07703496a468ebee17e90b05f3b9a69cc93.tar.lz nixlib-f415c07703496a468ebee17e90b05f3b9a69cc93.tar.xz nixlib-f415c07703496a468ebee17e90b05f3b9a69cc93.tar.zst nixlib-f415c07703496a468ebee17e90b05f3b9a69cc93.zip |
unbound: enable compilation with PIE & relro/now
Diffstat (limited to 'pkgs/tools/networking/unbound')
-rw-r--r-- | pkgs/tools/networking/unbound/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index 035b637031c7..4819c004c1b8 100644 --- a/pkgs/tools/networking/unbound/default.nix +++ b/pkgs/tools/networking/unbound/default.nix @@ -17,6 +17,8 @@ stdenv.mkDerivation rec { "--with-libevent=${libevent}" "--localstatedir=/var" "--sysconfdir=/etc" + "--enable-pie" + "--enable-relro-now" ]; installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ]; |