[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#47182] [PATCH 07/18] gnu: binutils-final: Support more Power archit
From: |
Chris Marusich |
Subject: |
[bug#47182] [PATCH 07/18] gnu: binutils-final: Support more Power architectures. |
Date: |
Mon, 15 Mar 2021 23:45:00 -0700 |
* 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.
---
gnu/packages/commencement.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index c0732bbf62d..d4511ed9148 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3516,14 +3516,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))))))
--
2.26.2
- [bug#47182] [PATCH 00/18] Add support for powerpc64le-linux (wip-ppc64le-for-master), Chris Marusich, 2021/03/16
- [bug#47182] [PATCH 05/18] gnu: gcc-boot0: Enable 128-bit long double for POWER9., Chris Marusich, 2021/03/16
- [bug#47182] [PATCH 06/18] gnu: binutils-final: Provide bash for binary on powerpc-linux., Chris Marusich, 2021/03/16
- [bug#47182] [PATCH 04/18] gnu: glibc: Fix ldd path on powerpc*., Chris Marusich, 2021/03/16
- [bug#47182] [PATCH 10/18] gnu: texlive-bin: Fix compilation on powerpc64le*., Chris Marusich, 2021/03/16