From 88b49cc74815077a942e5f319bb345a31038fbed Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Wed, 6 Apr 2016 09:23:57 +0000 Subject: [PATCH] tinycc: disable fortify hardening --- pkgs/development/compilers/tinycc/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/compilers/tinycc/default.nix b/pkgs/development/compilers/tinycc/default.nix index f1a52f5de91..96844b2b1f1 100644 --- a/pkgs/development/compilers/tinycc/default.nix +++ b/pkgs/development/compilers/tinycc/default.nix @@ -18,6 +18,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ perl texinfo ]; + hardeningDisable = [ "fortify" ]; + postPatch = '' substituteInPlace "texi2pod.pl" \ --replace "/usr/bin/perl" "${perl}/bin/perl"