[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
143/184: gnu: make-bootstrap: Slightly clarify 'package-with-relocatable
From: |
guix-commits |
Subject: |
143/184: gnu: make-bootstrap: Slightly clarify 'package-with-relocatable-glibc'. |
Date: |
Wed, 27 Nov 2019 14:37:16 -0500 (EST) |
kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.
commit 5126f32d43c272771bcdf6521239d92187706ea5
Author: Ludovic Courtès <address@hidden>
Date: Sat Nov 9 22:28:04 2019 +0100
gnu: make-bootstrap: Slightly clarify 'package-with-relocatable-glibc'.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)
[cross-bootstrap-libc]: Take an explicit 'target' argument. Remove
redundant 'parameterize' form.
[inputs, native-inputs]: Adjust accordingly.
---
gnu/packages/make-bootstrap.scm | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index 4e6be32..b8d1b2a 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -125,19 +125,19 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
"Return a variant of P that uses the libc as defined by
`glibc-for-bootstrap'."
- (define (cross-bootstrap-libc)
- (let ((target (%current-target-system)))
- (glibc-for-bootstrap
- ;; `cross-libc' already returns a cross libc, so clear
- ;; %CURRENT-TARGET-SYSTEM.
- (parameterize ((%current-target-system #f))
- (cross-libc target)))))
+ (define (cross-bootstrap-libc target)
+ (glibc-for-bootstrap
+ ;; `cross-libc' already returns a cross libc, so clear
+ ;; %CURRENT-TARGET-SYSTEM.
+ (parameterize ((%current-target-system #f))
+ (cross-libc target))))
;; Standard inputs with the above libc and corresponding GCC.
(define (inputs)
(if (%current-target-system) ; is this package cross built?
- `(("cross-libc" ,(cross-bootstrap-libc)))
+ `(("cross-libc"
+ ,(cross-bootstrap-libc (%current-target-system))))
'()))
(define (native-inputs)
@@ -146,7 +146,7 @@ for `sh' in $PATH, and without nscd, and with static NSS
modules."
(xgcc (cross-gcc
target
#:xbinutils (cross-binutils target)
- #:libc (cross-bootstrap-libc))))
+ #:libc (cross-bootstrap-libc target))))
`(("cross-gcc" ,(package
(inherit xgcc)
(search-paths
- 134/184: gnu: Add perl-moox-strictconstructor., (continued)
- 134/184: gnu: Add perl-moox-strictconstructor., guix-commits, 2019/11/27
- 151/184: gnu: babl: Update to 0.1.72., guix-commits, 2019/11/27
- 156/184: gnu: xfce4-whiskermenu-plugin: Update to 2.3.4., guix-commits, 2019/11/27
- 150/184: gnu: fvwm: Update to 2.6.9., guix-commits, 2019/11/27
- 167/184: gnu: haskell-apps.scm: Add missing import., guix-commits, 2019/11/27
- 169/184: gnu: raincat: Use 'mirror-url'., guix-commits, 2019/11/27
- 178/184: gnu: gnome: Add gnome-screenshot to default apps., guix-commits, 2019/11/27
- 131/184: gnu: python-reportlab: Update to 3.5.32., guix-commits, 2019/11/27
- 130/184: gnu: botan: Use getentropy()., guix-commits, 2019/11/27
- 116/184: gnu: perl-danga-socket: Update to 1.62., guix-commits, 2019/11/27
- 143/184: gnu: make-bootstrap: Slightly clarify 'package-with-relocatable-glibc'.,
guix-commits <=
- 144/184: doc: Mention value /var to localstatedir option., guix-commits, 2019/11/27
- 173/184: gnu: qtwebkit: Don't use NAME in source URI., guix-commits, 2019/11/27
- 168/184: gnu: delta: Use 'mirror-url'., guix-commits, 2019/11/27
- 183/184: Merge branch 'master' into wip-gnome-updates, guix-commits, 2019/11/27
- 132/184: gnu: rdesktop: Update to 1.9.0., guix-commits, 2019/11/27
- 137/184: gnu: perl-file-configdir: Update to 0.021., guix-commits, 2019/11/27
- 129/184: gnu: botan: Optimise., guix-commits, 2019/11/27
- 123/184: news: Add Spanish translation., guix-commits, 2019/11/27
- 153/184: gnu: gegl: Update to 0.4.18., guix-commits, 2019/11/27
- 163/184: gnu: monero-gui: Update to 0.15.0.0., guix-commits, 2019/11/27