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".
This commit is contained in:
Chris Marusich 2021-02-21 19:48:26 -08:00
parent 8d9aece8c4
commit 93f21e1a35
No known key found for this signature in database
GPG key ID: DD409A15D822469D

View file

@ -549,7 +549,7 @@ (define* (target-powerpc? #:optional (target (or (%current-target-system)
(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