Trying to disable the references to the bootstrap-tools libgcc

svn path=/nixpkgs/branches/stdenv-updates/; revision=30022
This commit is contained in:
Lluís Batlle i Rossell
2011-10-25 18:35:17 +00:00
parent db31cf8287
commit 3fa51ac56a
2 changed files with 8 additions and 0 deletions
@@ -53,6 +53,10 @@ stdenv.mkDerivation rec {
done
'';
# As binutils takes part in the stdenv building, we don't want references
# to the bootstrap-tools libgcc (as uses to happen on arm/mips)
NIX_LDFLAGS = "-static-libgcc";
configureFlags = "--disable-werror" # needed for dietlibc build
+ stdenv.lib.optionalString (stdenv.system == "mips64-linux")
" --enable-fix-loongson2f-nop"