diff options
Diffstat (limited to 'guix/utils.scm')
-rw-r--r-- | guix/utils.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/guix/utils.scm b/guix/utils.scm index 9596ff8582..cba6464523 100644 --- a/guix/utils.scm +++ b/guix/utils.scm @@ -668,7 +668,7 @@ a character other than '@'." "Is the architecture of TARGET a variant of Intel's 32-bit architecture (IA32)?" ;; Intel also has a 16-bit architecture in the iN86 series, i286 - ;; (see, e.g. https://en.wikipedia.org/wiki/Intel/808286) so this + ;; (see, e.g., https://en.wikipedia.org/wiki/Intel_80286) so this ;; procedure is not named target-x86?. (or (string-prefix? "i386-" target) (string-prefix? "i486-" target) @@ -712,7 +712,8 @@ architecture (x86_64)?" (define* (target-64bit? #:optional (system (or (%current-target-system) (%current-system)))) - (any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64" "powerpc64"))) + (any (cut string-prefix? <> system) '("x86_64" "aarch64" "mips64" + "powerpc64" "riscv64"))) (define* (cc-for-target #:optional (target (%current-target-system))) (if target |