gnu: make-bootstrap: Allow cross-compilation of the bootstrap tarballs.
authorLudovic Courtès <ludo@gnu.org>
Tue, 25 Jun 2013 21:39:14 +0000 (23:39 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 25 Jun 2013 21:39:14 +0000 (23:39 +0200)
commita410a0105d9517ccc0982b396588835899f6fc3f
tree8d27553ebc57ab000b6763111cdff918f5339100
parenta3cff41dd1fbc1c860d9984c8e5666d02e0f07de
gnu: make-bootstrap: Allow cross-compilation of the bootstrap tarballs.

* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc): Turn
  `inputs' into a thunk.  Add `native-inputs', and pass it to
  `package-with-explicit-inputs'.
  (%static-inputs): Add %BASH-STATIC as an input to gawk when cross
  building.
  (%glibc-stripped): When cross compiling,
  use (glibc-for-bootstrap (cross-libc)) as the basis.
  (%gcc-static): Base on GCC-4.7, not GCC-FINAL.
  (tarball-package): TAR and XZ are native inputs.  Choose the tarball
  file name based on (%current-target-system) too.
gnu/packages/make-bootstrap.scm