win32/detectenv-msvc.mak: Add linker flag for ARM64

This prepares things better for ARM64 (aarch64) Windows builds, to make things
more complete and comparable to x64 and x86 builds.
This commit is contained in:
Chun-wei Fan 2021-02-23 17:31:24 +08:00
parent 4d6f110ca2
commit 935691f94c

View File

@ -77,6 +77,8 @@ CFLAGS_ADD = /MDd /Od $(CFLAGS_BASE)
!if "$(PLAT)" == "x64"
LDFLAGS_ARCH = /machine:x64
!elseif "$(PLAT)" == "arm64"
LDFLAGS_ARCH = /machine:arm64
!else
LDFLAGS_ARCH = /machine:x86
!endif