mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-07 11:29:59 +01: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
3d43a7c048
commit
c1c15ef355
1 changed files with 2 additions and 2 deletions
|
@ -3404,14 +3404,14 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%"
|
|||
#:implicit-inputs? #f
|
||||
#:allowed-references
|
||||
,@(match (%current-system)
|
||||
("powerpc-linux"
|
||||
((? target-powerpc?)
|
||||
`(("out" ,glibc-final ,static-bash-for-glibc)))
|
||||
(_
|
||||
`(("out" ,glibc-final))))
|
||||
,@(package-arguments binutils)))
|
||||
(inputs
|
||||
(match (%current-system)
|
||||
("powerpc-linux"
|
||||
((? target-powerpc?)
|
||||
`(("bash" ,static-bash-for-glibc)
|
||||
,@(%boot2-inputs)))
|
||||
(_ (%boot2-inputs))))))
|
||||
|
|
Loading…
Add table
Reference in a new issue