guix-commits
[Top][All Lists]
Advanced

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

17/18: utils: Fix target-64bit? on powerpc64le-linux.


From: guix-commits
Subject: 17/18: utils: Fix target-64bit? on powerpc64le-linux.
Date: Fri, 12 Mar 2021 03:16:59 -0500 (EST)

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

commit 2e96d830ffae247726f228bc9f3fbe56df6d0c55
Author: Chris Marusich <cmmarusich@gmail.com>
AuthorDate: Sun Feb 21 19:48:26 2021 -0800

    utils: Fix target-64bit? on powerpc64le-linux.
    
    * guix/utils.scm (target-64bit?): Change the string from "ppc64" to
    "powerpc64", which matches Guix system names like "powerpc64le-linux".
---
 guix/utils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/utils.scm b/guix/utils.scm
index ce539d9..3a83d38 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -546,7 +546,7 @@ a character other than '@'."
 
 (define* (target-64bit? #:optional (system (or (%current-target-system)
                                                (%current-system))))
-  (any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64" "ppc64")))
+  (any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64" 
"powerpc64")))
 
 (define* (cc-for-target #:optional (target (%current-target-system)))
   (if target



reply via email to

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