0
0
mirror of https://github.com/vim/vim.git synced 2025-10-21 08:24:06 -04:00

patch 9.1.1499: MS-Windows: no indication of ARM64 architecture

Problem:  MS-Windows: no indication of ARM64 architecture
Solution: Add ARM64 to version output and include in nsis installer
          (RestorerZ)

related: vim/vim-win32-installer#381
closes: #17642

Signed-off-by: RestorerZ <restorer@mail2k.ru>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
RestorerZ
2025-07-01 21:30:21 +02:00
committed by Christian Brabandt
parent 523f9f5898
commit 54585fd04c
6 changed files with 50 additions and 5 deletions

View File

@@ -342,7 +342,11 @@ MSVCRT_NAME = vcruntime$(MSVCRT_VER)
### Set the default $(WINVER) to make it work with Windows 7
!ifndef WINVER
! if "$(CPU)" == "ARM64"
WINVER = 0x0A00
! else
WINVER = 0x0601
! endif
!endif
# Use multiprocess build
@@ -571,7 +575,8 @@ CPUNR = sse2
! error *** ERROR Unknown target architecture "$(CPUNR)". Make aborted.
! endif
!elseif "$(CPU)" == "ARM64"
# TODO: Validate CPUNR.
# TODO: Validate CPUNR depending on the VS version.
CPUNR = armv8.0
!endif
# Convert processor ID to MVC-compatible number