mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00: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 @@
|
||||||
"x64")
|
"x64")
|
||||||
((? (cut string-prefix? "powerpc64" <>))
|
((? (cut string-prefix? "powerpc64" <>))
|
||||||
"ppc64")
|
"ppc64")
|
||||||
|
((? (cut string-prefix? "riscv64" <>))
|
||||||
|
"riscv64")
|
||||||
(_ "unsupported"))))
|
(_ "unsupported"))))
|
||||||
''()))
|
''()))
|
||||||
(flags (cons (string-append "--prefix=" prefix)
|
(flags (cons (string-append "--prefix=" prefix)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue