summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-12-29 16:46:21 +0200
committerEfraim Flashner <efraim@flashner.co.il>2022-12-30 15:17:47 +0200
commitf7b2108e62cddc344d84a7481fb4704376fe8aa6 (patch)
tree75ace6caf7c232ecf12dc1a4aa09f6250652255a /gnu
parentff092b94540e56c32db0487ee19ad3f788a295f0 (diff)
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/node.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/node.scm b/gnu/packages/node.scm
index 4e9daa522d..be39f3b25a 100644
--- a/gnu/packages/node.scm
+++ b/gnu/packages/node.scm
@@ -224,6 +224,8 @@
"x64")
((? (cut string-prefix? "powerpc64" <>))
"ppc64")
+ ((? (cut string-prefix? "riscv64" <>))
+ "riscv64")
(_ "unsupported"))))
''()))
(flags (cons (string-append "--prefix=" prefix)