guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 17/26: utils: Fix target-64bit? on powerpc64le-linux.
Date: Sun, 7 Mar 2021 22:00:17 -0500 (EST)

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

commit 0973949abdf31f0ba3085cf886b493b4008fa9be
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 e7a7be4..51f8920 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -563,7 +563,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]