1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

Setting the gcc --with-arch=fuloong2f only on mips64-linux. (what was there before was

a temporary change not representing a working stdenv)

svn path=/nixpkgs/branches/stdenv-updates/; revision=23589
This commit is contained in:
Lluís Batlle i Rossell 2010-09-01 09:50:23 +00:00
parent 641f956581
commit bc22ce3b74

View file

@ -235,7 +235,8 @@ stdenv.mkDerivation ({
)
)
}
${"--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 ""}