From 614fffe4270cef308573a6d9cef650f3972875af Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 20 Dec 2017 14:56:47 +0100 Subject: 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 6dff905e51202bbdebbad8811b6509584d12a796. * guix/build-system/gnu.scm (standard-cross-packages): Add the "cross-libc:static". --- guix/build-system/gnu.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index f54afe167c..ae8274a7f7 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -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 -- cgit v1.2.3