From f7b2108e62cddc344d84a7481fb4704376fe8aa6 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 29 Dec 2022 16:46:21 +0200 Subject: [PATCH] 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. --- gnu/packages/node.scm | 2 ++ 1 file changed, 2 insertions(+) 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 @@ (define-public node "x64") ((? (cut string-prefix? "powerpc64" <>)) "ppc64") + ((? (cut string-prefix? "riscv64" <>)) + "riscv64") (_ "unsupported")))) ''())) (flags (cons (string-append "--prefix=" prefix)