diff options
author | Niyas Sait <niyas.sait@linaro.org> | 2022-04-05 14:19:18 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-05 14:19:18 +0300 |
commit | 9b3aad1cddde1a9da80caaa28557092a1f6bc87b (patch) | |
tree | 7cae1f9c0cc1c49ef7b18260c5bcd9dbf0d7ac57 /configure.py | |
parent | d58f4081b534ff6cb017c5d8e9c1bffc8308d2b5 (diff) |
build: windows/arm64 native compilation support
Added support for detecting ARM64 host architecture for windows and
avoid explicit cross-compilation flag for win/arm64 target as
configure.py can auto-detect configuration from host and
target architecture.
Refs: https://github.com/nodejs/build/issues/2540
PR-URL: https://github.com/nodejs/node/pull/42408
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'configure.py')
-rwxr-xr-x | configure.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.py b/configure.py index f9dc5eb9a18..6519cf3b962 100755 --- a/configure.py +++ b/configure.py @@ -1122,6 +1122,7 @@ def host_arch_win(): 'x86' : 'ia32', 'arm' : 'arm', 'mips' : 'mips', + 'ARM64' : 'arm64' } return matchup.get(arch, 'ia32') |