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".master
parent
8d9aece8c4
commit
93f21e1a35
|
@ -549,7 +549,7 @@ a character other than '@'."
|
||||||
|
|
||||||
(define* (target-64bit? #:optional (system (or (%current-target-system)
|
(define* (target-64bit? #:optional (system (or (%current-target-system)
|
||||||
(%current-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)))
|
(define* (cc-for-target #:optional (target (%current-target-system)))
|
||||||
(if target
|
(if target
|
||||||
|
|
Reference in New Issue