mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-25 20:19:18 -05:00
gnu: binutils-final: Support more Power architectures.
* gnu/packages/commencement.scm (binutils-final)[arguments]: When checking if the system is a Power architecture, instead of hard-coding "powerpc-linux", use the target-powerpc? procedure so it works on more Power architectures. [inputs]: Likewise.
This commit is contained in:
parent
060478c32c
commit
be4b1cf53b
1 changed files with 2 additions and 2 deletions
|
@ -3516,14 +3516,14 @@ (define binutils-final
|
||||||
#:implicit-inputs? #f
|
#:implicit-inputs? #f
|
||||||
#:allowed-references
|
#:allowed-references
|
||||||
,@(match (%current-system)
|
,@(match (%current-system)
|
||||||
("powerpc-linux"
|
((? target-powerpc?)
|
||||||
`(("out" ,glibc-final ,static-bash-for-glibc)))
|
`(("out" ,glibc-final ,static-bash-for-glibc)))
|
||||||
(_
|
(_
|
||||||
`(("out" ,glibc-final))))
|
`(("out" ,glibc-final))))
|
||||||
,@(package-arguments binutils)))
|
,@(package-arguments binutils)))
|
||||||
(inputs
|
(inputs
|
||||||
(match (%current-system)
|
(match (%current-system)
|
||||||
("powerpc-linux"
|
((? target-powerpc?)
|
||||||
`(("bash" ,static-bash-for-glibc)
|
`(("bash" ,static-bash-for-glibc)
|
||||||
,@(%boot2-inputs)))
|
,@(%boot2-inputs)))
|
||||||
(_ (%boot2-inputs))))))
|
(_ (%boot2-inputs))))))
|
||||||
|
|
Loading…
Reference in a new issue