Fixing the cross-compiler build on i686-linux

svn path=/nixpkgs/branches/stdenv-updates/; revision=19626
This commit is contained in:
Lluís Batlle i Rossell 2010-01-23 00:24:52 +00:00
parent d9dd893969
commit 7ef8d2474b

View File

@ -151,7 +151,7 @@ stdenv.mkDerivation ({
) )
} }
${if langAda then " --enable-libada" else ""} ${if langAda then " --enable-libada" else ""}
${if stdenv.isi686 then "--with-arch=i686" else ""} ${if (cross == null && stdenv.isi686) then "--with-arch=i686" else ""}
${if cross != null then crossConfigureFlags else ""} ${if cross != null then crossConfigureFlags else ""}
"; ";