mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01:00
gnu: binutils-final: Provide bash for binary on powerpc-linux.
* gnu/packages/commencement.scm (binutils-final)[arguments]: On powerpc-linux allow a reference to static-bash-for-glibc. [inputs]: On powerpc-linux add static-bash-for-glibc.
This commit is contained in:
parent
4bd672cb41
commit
3d43a7c048
1 changed files with 12 additions and 2 deletions
|
@ -3402,9 +3402,19 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
||||||
(arguments
|
(arguments
|
||||||
`(#:guile ,%bootstrap-guile
|
`(#:guile ,%bootstrap-guile
|
||||||
#:implicit-inputs? #f
|
#:implicit-inputs? #f
|
||||||
#:allowed-references ("out" ,glibc-final)
|
#:allowed-references
|
||||||
|
,@(match (%current-system)
|
||||||
|
("powerpc-linux"
|
||||||
|
`(("out" ,glibc-final ,static-bash-for-glibc)))
|
||||||
|
(_
|
||||||
|
`(("out" ,glibc-final))))
|
||||||
,@(package-arguments binutils)))
|
,@(package-arguments binutils)))
|
||||||
(inputs (%boot2-inputs))))
|
(inputs
|
||||||
|
(match (%current-system)
|
||||||
|
("powerpc-linux"
|
||||||
|
`(("bash" ,static-bash-for-glibc)
|
||||||
|
,@(%boot2-inputs)))
|
||||||
|
(_ (%boot2-inputs))))))
|
||||||
|
|
||||||
(define libstdc++
|
(define libstdc++
|
||||||
;; Intermediate libstdc++ that will allow us to build the final GCC
|
;; Intermediate libstdc++ that will allow us to build the final GCC
|
||||||
|
|
Loading…
Add table
Reference in a new issue