summary refs log tree commit diff
path: root/pkgs/development/interpreters
diff options
context:
space:
mode:
authorFranz Pletz <fpletz@fnordicwalking.de>2016-08-24 19:24:48 +0200
committerFranz Pletz <fpletz@fnordicwalking.de>2016-08-24 19:25:19 +0200
commit647b2ce168bf8ae3773d133cd7a98aaab4193aa4 (patch)
tree30c35e1ada904f64a0375f7efa65a5d58a935944 /pkgs/development/interpreters
parent9e47acb89d2bb4d734750f90b1320e23814e7a36 (diff)
downloadnixlib-647b2ce168bf8ae3773d133cd7a98aaab4193aa4.tar
nixlib-647b2ce168bf8ae3773d133cd7a98aaab4193aa4.tar.gz
nixlib-647b2ce168bf8ae3773d133cd7a98aaab4193aa4.tar.bz2
nixlib-647b2ce168bf8ae3773d133cd7a98aaab4193aa4.tar.lz
nixlib-647b2ce168bf8ae3773d133cd7a98aaab4193aa4.tar.xz
nixlib-647b2ce168bf8ae3773d133cd7a98aaab4193aa4.tar.zst
nixlib-647b2ce168bf8ae3773d133cd7a98aaab4193aa4.zip
lua5_0: disable stackprotector hardening on i686
Diffstat (limited to 'pkgs/development/interpreters')
-rw-r--r--pkgs/development/interpreters/lua-5/5.0.3.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/lua-5/5.0.3.nix b/pkgs/development/interpreters/lua-5/5.0.3.nix
index 76e02f90f5f7..773883ef34a9 100644
--- a/pkgs/development/interpreters/lua-5/5.0.3.nix
+++ b/pkgs/development/interpreters/lua-5/5.0.3.nix
@@ -8,6 +8,8 @@ stdenv.mkDerivation {
     sha256 = "1193a61b0e08acaa6eee0eecf29709179ee49c71baebc59b682a25c3b5a45671";
   };
 
+  hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector";
+
   configurePhase = "sed -i -e 's/MYCFLAGS=.*/MYCFLAGS=-O3 -fomit-frame-pointer -fPIC/' config";
   buildFlags = "all so sobin";
   installFlags = "INSTALL_ROOT=$$out";