From f415c07703496a468ebee17e90b05f3b9a69cc93 Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Mon, 15 Feb 2016 04:27:49 +0100 Subject: [PATCH] unbound: enable compilation with PIE & relro/now --- pkgs/tools/networking/unbound/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index 035b637031c..4819c004c1b 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" ];