me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 2 additions and 0 deletions

View File

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