summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2024-01-27 13:28:33 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2024-02-27 22:51:58 +0000
commit5e1e44b25fa68cc9940860345b208488b2d690c1 (patch)
tree0eea603c1400c77465a44d3ac275a9e45fbfe777 /gnu
parentc1b47e8bcb60c35597a28838fed08bad3ab04bb8 (diff)
downloadguix-5e1e44b25fa68cc9940860345b208488b2d690c1.tar.gz
gnu: libpasastro: Remove system constrains.
* gnu/packages/astronomy.scm (libpasastro) [supported-systems]: Remove
it.
[arguments] <#:make-flags>: Add attempt to build on RISCV.

Change-Id: I6dbc843ec25fca46b7c9501e21cc8fba1e9d7bcb
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/astronomy.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/packages/astronomy.scm b/gnu/packages/astronomy.scm
index d03adaea52..ff7db6118b 100644
--- a/gnu/packages/astronomy.scm
+++ b/gnu/packages/astronomy.scm
@@ -3229,8 +3229,6 @@ low quality ones")
        (sha256
         (base32 "1na3gyb3nzb5gdgccs1653j2gnz6w3v1mqzhyhkx3yqw8bs3q5x0"))))
     (build-system gnu-build-system)
-    (supported-systems '("i686-linux" "x86_64-linux"
-                         "armhf-linux" "aarch64-linux"))
     (arguments
      (list
       #:tests? #f ; no tests provided
@@ -3246,7 +3244,9 @@ low quality ones")
                '("CPU_TARGET=i386"))
               ("x86_64-linux"
                '("CPU_TARGET=x86_64"))
-              ((or "armhf-linux" "aarch64-linux")
+              ;; There is no a case for RISCV in upstream, attempt to treat it
+              ;; as ARM.
+              ((or "armhf-linux" "aarch64-linux" "riscv64")
                '("CPU_TARGET=armv7l"))
               (_ '()))
          (string-append "PREFIX=" #$output))