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:
Ludovic Courtès 2017-12-20 14:56:47 +01:00
parent 1b0f65dc99
commit 614fffe427
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 3 additions and 1 deletions

View File

@ -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