Fixing the cross-glibc soft float case.

svn path=/nixpkgs/trunk/; revision=20276
This commit is contained in:
Lluís Batlle i Rossell 2010-02-27 20:02:21 +00:00
parent 3b747e92e5
commit 8cf1f739e2

View file

@ -68,7 +68,7 @@ stdenv.mkDerivation ({
else "--disable-profile")
] ++ stdenv.lib.optionals (cross != null) [
(if cross.withTLS then "--with-tls" else "--without-tls")
(if cross.float == "float" then "--without-fp" else "--with-fp")
(if cross.float == "soft" then "--without-fp" else "--with-fp")
"--enable-kernel=2.6.0"
"--with-__thread"
] ++ stdenv.lib.optionals (stdenv.system == "armv5tel-linux") [