guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/23: gnu: binutils-final: Support more Power architectures.


From: guix-commits
Subject: 05/23: gnu: binutils-final: Support more Power architectures.
Date: Thu, 11 Mar 2021 02:04:59 -0500 (EST)

marusich pushed a commit to branch wip-ppc64le
in repository guix.

commit c1c15ef3550f6d184f4d2de22f4bd49380e6f715
Author: Chris Marusich <cmmarusich@gmail.com>
AuthorDate: Tue Feb 2 00:13:48 2021 -0800

    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.
---
 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 c421857..f6bfc27 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))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]