From f5c9f99877ced1b63d12a9c3ce327b46fae754bb Mon Sep 17 00:00:00 2001 From: Franz Pletz Date: Sat, 13 Aug 2016 16:06:57 +0200 Subject: [PATCH] linuxPackages.ati_drivers_x11: disable pic & format hardening --- pkgs/os-specific/linux/ati-drivers/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/os-specific/linux/ati-drivers/default.nix b/pkgs/os-specific/linux/ati-drivers/default.nix index e5eb9b8c6c3c..902f0e37e35f 100644 --- a/pkgs/os-specific/linux/ati-drivers/default.nix +++ b/pkgs/os-specific/linux/ati-drivers/default.nix @@ -65,6 +65,8 @@ stdenv.mkDerivation rec { curlOpts = "--referer http://support.amd.com/en-us/download/desktop?os=Linux+x86_64"; }; + hardeningDisable = [ "pic" "format" ]; + patchPhaseSamples = "patch -p2 < ${./patches/patch-samples.patch}"; patches = [ ./patches/15.12-xstate-fp.patch