Revert stdenv glibc back to version 2.13.
Note that I didn't touch the glibcCross attribute! That still points to glibc 2.14. svn path=/nixpkgs/branches/stdenv-updates/; revision=30031
This commit is contained in:
parent
51e5c3b73d
commit
3590b859c5
@ -3401,7 +3401,9 @@ let
|
|||||||
|
|
||||||
glfw = callPackage ../development/libraries/glfw { };
|
glfw = callPackage ../development/libraries/glfw { };
|
||||||
|
|
||||||
glibc = glibc214;
|
glibc = glibc213;
|
||||||
|
|
||||||
|
glibcCross = glibc214Cross;
|
||||||
|
|
||||||
glibc25 = callPackage ../development/libraries/glibc-2.5 {
|
glibc25 = callPackage ../development/libraries/glibc-2.5 {
|
||||||
kernelHeaders = linuxHeaders_2_6_28;
|
kernelHeaders = linuxHeaders_2_6_28;
|
||||||
@ -3425,6 +3427,29 @@ let
|
|||||||
installLocales = getConfig [ "glibc" "locales" ] false;
|
installLocales = getConfig [ "glibc" "locales" ] false;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
glibc213 = (callPackage ../development/libraries/glibc-2.13 {
|
||||||
|
kernelHeaders = linuxHeaders;
|
||||||
|
installLocales = getConfig [ "glibc" "locales" ] false;
|
||||||
|
machHeaders = null;
|
||||||
|
hurdHeaders = null;
|
||||||
|
gccCross = null;
|
||||||
|
}) // (if crossSystem != null then { hostDrv = glibc213Cross; } else {});
|
||||||
|
|
||||||
|
glibc213Cross = forceBuildDrv (makeOverridable (import ../development/libraries/glibc-2.13)
|
||||||
|
(let crossGNU = (crossSystem != null && crossSystem.config == "i586-pc-gnu");
|
||||||
|
in ({
|
||||||
|
inherit stdenv fetchurl;
|
||||||
|
gccCross = gccCrossStageStatic;
|
||||||
|
kernelHeaders = if crossGNU then hurdHeaders else linuxHeadersCross;
|
||||||
|
installLocales = getConfig [ "glibc" "locales" ] false;
|
||||||
|
}
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
|
(if crossGNU
|
||||||
|
then { inherit machHeaders hurdHeaders mig fetchgit; }
|
||||||
|
else { }))));
|
||||||
|
|
||||||
glibc214 = (callPackage ../development/libraries/glibc-2.14 {
|
glibc214 = (callPackage ../development/libraries/glibc-2.14 {
|
||||||
kernelHeaders = linuxHeaders;
|
kernelHeaders = linuxHeaders;
|
||||||
installLocales = getConfig [ "glibc" "locales" ] false;
|
installLocales = getConfig [ "glibc" "locales" ] false;
|
||||||
@ -3448,8 +3473,6 @@ let
|
|||||||
then { inherit machHeaders hurdHeaders mig fetchgit; }
|
then { inherit machHeaders hurdHeaders mig fetchgit; }
|
||||||
else { }))));
|
else { }))));
|
||||||
|
|
||||||
glibcCross = glibc214Cross;
|
|
||||||
|
|
||||||
# We can choose:
|
# We can choose:
|
||||||
libcCrossChooser = name : if (name == "glibc") then glibcCross
|
libcCrossChooser = name : if (name == "glibc") then glibcCross
|
||||||
else if (name == "uclibc") then uclibcCross
|
else if (name == "uclibc") then uclibcCross
|
||||||
|
Loading…
x
Reference in New Issue
Block a user