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
information. */
{ stdenv, lib, fetchurl
, gd ? null, libpng ? null
{ stdenv, lib
, buildPlatform, hostPlatform
, buildPackages
, fetchurl
, linuxHeaders ? null
, gd ? null, libpng ? null
}:
{ name
@ -17,7 +19,6 @@
} @ args:
let
inherit (buildPackages) linuxHeaders;
version = "2.25";
patchSuffix = "-49";
sha256 = "067bd9bb3390e79aa45911537d13c3721f1d9d3769931a30c2681bfee66f23a0";