build-system/gnu: Add the "static" output of libc in cross environments.
Fixes a regression whereby the host libc.a would be missing when
cross-compiling.
This is a followup to commit 6dff905e51
.
* guix/build-system/gnu.scm (standard-cross-packages): Add the
"cross-libc:static".
This commit is contained in:
parent
1b0f65dc99
commit
614fffe427
|
@ -414,7 +414,9 @@ is one of `host' or `target'."
|
|||
#:libc (libc target)))
|
||||
("cross-binutils" ,(binutils target))))
|
||||
((target)
|
||||
`(("cross-libc" ,(libc target))))))))
|
||||
(let ((libc (libc target)))
|
||||
`(("cross-libc" ,libc)
|
||||
("cross-libc:static" ,libc "static"))))))))
|
||||
|
||||
(define* (gnu-cross-build store name
|
||||
#:key
|
||||
|
|
Loading…
Reference in New Issue