summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-05-24 21:45:18 +0000
committerLluís Batlle i Rossell <viric@vicerveza.homeunix.net>2012-05-24 21:45:18 +0000
commit5aa41fb2ef9f6d49df859b746164a1363797bc04 (patch)
tree48ed7d9dd06395e822afaf6a61372173bd11b9c6
parent1402a2ebc311e4d99ec6bc42eb4c53aeb4bae4d7 (diff)
Adding a check for linux 2.6 related cross build parameters in glibc.
svn path=/nixpkgs/trunk/; revision=34230
-rw-r--r--pkgs/development/libraries/glibc/2.13/common.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/libraries/glibc/2.13/common.nix b/pkgs/development/libraries/glibc/2.13/common.nix
index 536f23fe3bb2..d0179b68ebcf 100644
--- a/pkgs/development/libraries/glibc/2.13/common.nix
+++ b/pkgs/development/libraries/glibc/2.13/common.nix
@@ -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 [