diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-05-24 21:45:18 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2012-05-24 21:45:18 +0000 |
commit | 5aa41fb2ef9f6d49df859b746164a1363797bc04 (patch) | |
tree | 48ed7d9dd06395e822afaf6a61372173bd11b9c6 | |
parent | 1402a2ebc311e4d99ec6bc42eb4c53aeb4bae4d7 (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.nix | 1 |
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 [ |