mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: make-bootstrap: Add cross-libc:static to the inputs.
This is a follow-up of 4610ab7c9a
. 'getpw' & co
fail with a cross-compiled statically-linked guile.
* gnu/packages/make-bootstrap.scm (package-with-relocatable-glibc)[inputs]:
Add "cross-libc:static".
This commit is contained in:
parent
aded68b300
commit
8bd2b15b06
1 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
||||||
;;; Copyright © 2018, 2019 Mark H Weaver <mhw@netris.org>
|
;;; Copyright © 2018, 2019 Mark H Weaver <mhw@netris.org>
|
||||||
;;; Copyright © 2018, 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
;;; Copyright © 2018, 2019 Jan (janneke) Nieuwenhuizen <janneke@gnu.org>
|
||||||
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
|
;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
|
||||||
|
;;; Copyright © 2020 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -137,7 +138,10 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
||||||
(define (inputs)
|
(define (inputs)
|
||||||
(if (%current-target-system) ; is this package cross built?
|
(if (%current-target-system) ; is this package cross built?
|
||||||
`(("cross-libc"
|
`(("cross-libc"
|
||||||
,(cross-bootstrap-libc (%current-target-system))))
|
,(cross-bootstrap-libc (%current-target-system)))
|
||||||
|
("cross-libc:static"
|
||||||
|
,(cross-bootstrap-libc (%current-target-system))
|
||||||
|
"static"))
|
||||||
'()))
|
'()))
|
||||||
|
|
||||||
(define (native-inputs)
|
(define (native-inputs)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue