GNU libc 2.14: Fix cross-GNU builds.
svn path=/nixpkgs/branches/stdenv-updates/; revision=32367
This commit is contained in:
@@ -3576,15 +3576,18 @@ let
|
|||||||
in ({
|
in ({
|
||||||
inherit stdenv fetchurl;
|
inherit stdenv fetchurl;
|
||||||
gccCross = gccCrossStageStatic;
|
gccCross = gccCrossStageStatic;
|
||||||
kernelHeaders = if crossGNU then hurdHeaders else linuxHeadersCross;
|
kernelHeaders = if crossGNU then gnu.hurdHeaders else linuxHeadersCross;
|
||||||
installLocales = getConfig [ "glibc" "locales" ] false;
|
installLocales = getConfig [ "glibc" "locales" ] false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
||||||
(if crossGNU
|
(if crossGNU
|
||||||
then { inherit machHeaders hurdHeaders mig fetchgit; }
|
then {
|
||||||
else { }))));
|
inherit (gnu) machHeaders hurdHeaders libpthreadHeaders mig;
|
||||||
|
inherit fetchgit;
|
||||||
|
}
|
||||||
|
else { })));
|
||||||
|
|
||||||
# We can choose:
|
# We can choose:
|
||||||
libcCrossChooser = name : if (name == "glibc") then glibcCross
|
libcCrossChooser = name : if (name == "glibc") then glibcCross
|
||||||
|
|||||||
Reference in New Issue
Block a user