Trying to disable the references to the bootstrap-tools libgcc

svn path=/nixpkgs/branches/stdenv-updates/; revision=30022
wip/yesman
Lluís Batlle i Rossell 13 years ago
parent db31cf8287
commit 3fa51ac56a
  1. 4
      pkgs/development/libraries/zlib/default.nix
  2. 4
      pkgs/development/tools/misc/binutils/default.nix

@ -17,6 +17,10 @@ stdenv.mkDerivation (rec {
fi
'';
# As zlib 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";
crossAttrs = {
dontStrip = if static then true else false;
} // (if stdenv.cross.libc == "msvcrt" then {

@ -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"

Loading…
Cancel
Save