diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2020-04-19 18:55:57 +0300 |
---|---|---|
committer | Chris Marusich <cmmarusich@gmail.com> | 2021-03-23 23:19:56 -0700 |
commit | 060478c32c9c548254fe3649426453b50c86a84f (patch) | |
tree | 34a8934e2b48f89477349fd63e91c6c3090f1aab /gnu | |
parent | b2135b5d576573115c1db9bc6b54d52452d44bee (diff) |
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.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/commencement.scm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index 86bc7a602d..c0732bbf62 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3514,9 +3514,19 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a \"$@\"~%" (arguments `(#:guile ,%bootstrap-guile #: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))) - (inputs (%boot2-inputs)))) + (inputs + (match (%current-system) + ("powerpc-linux" + `(("bash" ,static-bash-for-glibc) + ,@(%boot2-inputs))) + (_ (%boot2-inputs)))))) (define libstdc++ ;; Intermediate libstdc++ that will allow us to build the final GCC |