gnu: node: Add case for cross-building to riscv64-linux.

* gnu/packages/node.scm (node)[arguments]: Adjust custom 'configure
phase to specify the correct architecture when cross-compiling to
riscv64-linux.
This commit is contained in:
Efraim Flashner 2022-12-29 16:46:21 +02:00
parent ff092b9454
commit f7b2108e62
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -224,6 +224,8 @@ (define-public node
"x64")
((? (cut string-prefix? "powerpc64" <>))
"ppc64")
((? (cut string-prefix? "riscv64" <>))
"riscv64")
(_ "unsupported"))))
''()))
(flags (cons (string-append "--prefix=" prefix)