[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: utils: Fix target-64bit? on powerpc64le-linux.
From: |
guix-commits |
Subject: |
02/02: utils: Fix target-64bit? on powerpc64le-linux. |
Date: |
Mon, 22 Feb 2021 01:59:37 -0500 (EST) |
marusich pushed a commit to branch wip-ppc64le
in repository guix.
commit d873ade28d21cbd07fdef7c6b3c9598e9dfff95b
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 5927ba6..6dac7ae 100644
--- a/guix/utils.scm
+++ b/guix/utils.scm
@@ -540,7 +540,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