diff options
author | Chris Marusich <cmmarusich@gmail.com> | 2021-02-02 00:13:48 -0800 |
---|---|---|
committer | Chris Marusich <cmmarusich@gmail.com> | 2021-03-10 23:01:59 -0800 |
commit | c1c15ef3550f6d184f4d2de22f4bd49380e6f715 (patch) | |
tree | 40c9afc745787450264cc0e6ff08a89126e23c7a | |
parent | 3d43a7c048122eec099f48d0a122112ec34ca295 (diff) |
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.
-rw-r--r-- | gnu/packages/commencement.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index c42185728c..f6bfc27843 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -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)))))) |