singular.i686-linux: turn off stackprotector hardening

This commit is contained in:
Robin Gloster 2016-04-03 12:25:05 +00:00
parent f3f9145d23
commit 025cedc606

View File

@ -16,6 +16,8 @@ stdenv.mkDerivation rec {
find . -exec sed -e 's@/bin/uname@${coreutils}&@g' -i '{}' ';' find . -exec sed -e 's@/bin/uname@${coreutils}&@g' -i '{}' ';'
''; '';
hardeningDisable = stdenv.lib.optional stdenv.isi686 "stackprotector";
postInstall = '' postInstall = ''
rm -rf "$out/LIB" rm -rf "$out/LIB"
cp -r Singular/LIB "$out" cp -r Singular/LIB "$out"