1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00

Adding a check for linux 2.6 related cross build parameters in glibc.

svn path=/nixpkgs/trunk/; revision=34230
This commit is contained in:
Lluís Batlle i Rossell 2012-05-24 21:45:18 +00:00
parent 1402a2ebc3
commit 5aa41fb2ef

View file

@ -112,6 +112,7 @@ stdenv.mkDerivation ({
] ++ stdenv.lib.optionals (cross != null) [
(if cross.withTLS then "--with-tls" else "--without-tls")
(if cross.float == "soft" then "--without-fp" else "--with-fp")
] ++ stdenv.lib.optionals (cross != null && cross.platform.kernelMajor == "2.6") [
"--enable-kernel=2.6.0"
"--with-__thread"
] ++ stdenv.lib.optionals stdenv.isArm [