[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: build-system/gnu: Add the "static" output of libc in cross enviro
From: |
Ludovic Courtès |
Subject: |
01/03: build-system/gnu: Add the "static" output of libc in cross environments. |
Date: |
Wed, 20 Dec 2017 17:21:57 -0500 (EST) |
civodul pushed a commit to branch core-updates
in repository guix.
commit 614fffe4270cef308573a6d9cef650f3972875af
Author: Ludovic Courtès <address@hidden>
Date: Wed Dec 20 14:56:47 2017 +0100
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 f54afe1..ae8274a 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