Merge pull request #29625 from obsidiansystems/linuxHeadersCross

glibc: Grab the right linux headers when build != host
This commit is contained in:
John Ericson 2017-09-20 21:13:54 -04:00 committed by GitHub
commit df0c265ee1

View File

@ -1,10 +1,12 @@
/* Build configuration used to build glibc, Info files, and locale /* Build configuration used to build glibc, Info files, and locale
information. */ information. */
{ stdenv, lib, fetchurl { stdenv, lib
, gd ? null, libpng ? null
, buildPlatform, hostPlatform , buildPlatform, hostPlatform
, buildPackages , buildPackages
, fetchurl
, linuxHeaders ? null
, gd ? null, libpng ? null
}: }:
{ name { name
@ -17,7 +19,6 @@
} @ args: } @ args:
let let
inherit (buildPackages) linuxHeaders;
version = "2.25"; version = "2.25";
patchSuffix = "-49"; patchSuffix = "-49";
sha256 = "067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0"; sha256 = "067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0";