* Hopefully really fix memtest86.

svn path=/nixpkgs/branches/stdenv-updates/; revision=14829
This commit is contained in:
Eelco Dolstra 2009-04-02 07:55:47 +00:00
parent 98ab3f90ca
commit 8482c13edc

View file

@ -16,8 +16,11 @@ stdenv.mkDerivation {
touch gnu/stubs-32.h
fi
'';
NIX_CFLAGS_COMPILE = "-I.";
# Override the default optimisation setting (`-Os') to prevent lots
# of spurious errors. See
# https://bugs.launchpad.net/fedora/+source/memtest86+/+bug/246412.
NIX_CFLAGS_COMPILE = "-O1 -I.";
installPhase = ''
ensureDir $out