guix: use cross-* keyword arguments

Based on Bitcoin PR #28328
This commit is contained in:
tobtoht 2023-09-07 10:52:18 +02:00
parent 791c7cb8f8
commit f583179d0e
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -93,16 +93,16 @@ FILE-NAME found in ./patches relative to the current file."
;; 2. Build cross-compiled kernel headers with XGCC-SANS-LIBC, derived ;; 2. Build cross-compiled kernel headers with XGCC-SANS-LIBC, derived
;; from BASE-KERNEL-HEADERS ;; from BASE-KERNEL-HEADERS
(xkernel (cross-kernel-headers target (xkernel (cross-kernel-headers target
base-kernel-headers #:linux-headers base-kernel-headers
xgcc-sans-libc #:xgcc xgcc-sans-libc
xbinutils)) #:xbinutils xbinutils))
;; 3. Build a cross-compiled libc with XGCC-SANS-LIBC and XKERNEL, ;; 3. Build a cross-compiled libc with XGCC-SANS-LIBC and XKERNEL,
;; derived from BASE-LIBC ;; derived from BASE-LIBC
(xlibc (cross-libc target (xlibc (cross-libc target
base-libc #:libc base-libc
xgcc-sans-libc #:xgcc xgcc-sans-libc
xbinutils #:xbinutils xbinutils
xkernel)) #:xheaders xkernel))
;; 4. Build a cross-compiling gcc targeting XLIBC, derived from ;; 4. Build a cross-compiling gcc targeting XLIBC, derived from
;; BASE-GCC ;; BASE-GCC
(xgcc (cross-gcc target (xgcc (cross-gcc target