mirror of
https://github.com/zebrajr/node.git
synced 2026-01-15 12:15:26 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user