mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 05:18:07 -05:00
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:
parent
ff092b9454
commit
f7b2108e62
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue