Author: viric
Date: Wed Sep 1 09:50:23 2010
New Revision: 23589
URL: https://svn.nixos.org/websvn/nix/?rev=23589&sc=1
Log:
Setting the gcc --with-arch=fuloong2f only on mips64-linux. (what was there
before was
a temporary change not representing a working stdenv)
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
Modified:
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
==============================================================================
---
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
Wed Sep 1 09:50:12 2010 (r23588)
+++
nixpkgs/branches/stdenv-updates/pkgs/development/compilers/gcc-4.5/default.nix
Wed Sep 1 09:50:23 2010 (r23589)
@@ -235,7 +235,8 @@
)
)
}
- ${"--with-arch=loongson2f"}
+ ${ # Trick that should be taken out once we have a mips64-linux not
loongson2f
+ if cross == null && stdenv.system == "mips64-linux" then
"--with-arch=loongson2f" else ""}
${if langAda then " --enable-libada" else ""}
${if (cross == null && stdenv.isi686) then "--with-arch=i686" else ""}
${if cross != null then crossConfigureFlags else ""}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits