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
;; from BASE-KERNEL-HEADERS
(xkernel (cross-kernel-headers target
base-kernel-headers
xgcc-sans-libc
xbinutils))
#:linux-headers base-kernel-headers
#:xgcc xgcc-sans-libc
#:xbinutils xbinutils))
;; 3. Build a cross-compiled libc with XGCC-SANS-LIBC and XKERNEL,
;; derived from BASE-LIBC
(xlibc (cross-libc target
base-libc
xgcc-sans-libc
xbinutils
xkernel))
#:libc base-libc
#:xgcc xgcc-sans-libc
#:xbinutils xbinutils
#:xheaders xkernel))
;; 4. Build a cross-compiling gcc targeting XLIBC, derived from
;; BASE-GCC
(xgcc (cross-gcc target