~ruther/guix-local

fffecf715bf0f0f7e1f06cc9add9f0cc70a986db — Zheng Junjie 1 year, 4 months ago 40f5d73
gnu: %glibc-stripped: Fix cross-compiling to loongarch64.

gnu/packages/make-bootstrap.scm (%glibc-stripped)[inputs]: When target
loongarch64, Use linux-libre-headers-5.19.17.

Change-Id: I4b2b9168aa3716445d1b88b4db3dcf4ad038a45d
1 files changed, 5 insertions(+), 3 deletions(-)

M gnu/packages/make-bootstrap.scm
M gnu/packages/make-bootstrap.scm => gnu/packages/make-bootstrap.scm +5 -3
@@ 475,11 475,13 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
                        glibc)))))
      (inputs
       `(("kernel-headers"
          ,(if (or (and (%current-target-system)
          ,(cond ((or (and (%current-target-system)
                        (target-hurd? (%current-target-system)))
                   (string-suffix? "-hurd" (%current-system)))
               gnumach-headers
               linux-libre-headers))))
                  gnumach-headers)
                 ;; linux 5.19 include loongarch support.
                 ((target-loongarch64?) linux-libre-headers-5.19.17)
                 (else linux-libre-headers)))))
      (propagated-inputs '())

      ;; Only one output.