~ruther/guix-local

e0775d2a0137711c7150a3b3e01dffd463525b0c — Mark H Weaver 8 years ago 37a5719
gnu: Fix another call to cross-gcc.

This is a followup to commit 7b3318e34f4e2743254a88b908859901db960e9a.

* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)
[native-inputs]: Fix 'cross-gcc' call.
* gnu/packages/cross-base.scm: Fix example 'cross-gcc' call in a comment.
2 files changed, 4 insertions(+), 4 deletions(-)

M gnu/packages/cross-base.scm
M gnu/packages/make-bootstrap.scm
M gnu/packages/cross-base.scm => gnu/packages/cross-base.scm +2 -2
@@ 494,8 494,8 @@ XBINUTILS and the cross tool chain."
;; (define-public xgcc-armhf
;;   (let ((triplet "arm-linux-gnueabihf"))
;;     (cross-gcc triplet
;;                (cross-binutils triplet)
;;                (cross-libc triplet))))
;;                #:xbinutils (cross-binutils triplet)
;;                #:libc (cross-libc triplet))))
;;
;;; We don't do that here because we'd be referring to bindings from (gnu
;;; packages gcc) from the top level, which doesn't play well with circular

M gnu/packages/make-bootstrap.scm => gnu/packages/make-bootstrap.scm +2 -2
@@ 99,8 99,8 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
    (if (%current-target-system)
        (let ((target (%current-target-system)))
          `(("cross-gcc"      ,(cross-gcc target
                                          (cross-binutils target)
                                          (cross-bootstrap-libc)))
                                          #:xbinutils (cross-binutils target)
                                          #:libc (cross-bootstrap-libc)))
            ("cross-binutils" ,(cross-binutils target))
            ,@(%final-inputs)))
        `(("libc" ,(glibc-for-bootstrap))