build: set node_arch to target_cpu in GN

PR-URL: https://github.com/nodejs/node/pull/55967
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
This commit is contained in:
Shelley Vohr
2024-11-26 11:01:09 +01:00
committed by GitHub
parent fb8de039c9
commit 0ba264ff4a

View File

@@ -91,7 +91,7 @@ template("node_gn_build") {
if (current_cpu == "x86") {
node_arch = "ia32"
} else {
node_arch = current_cpu
node_arch = target_cpu
}
if (target_os == "win") {
node_platform = "win32"