summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChun-wei Fan <fanchunwei@src.gnome.org>2021-02-23 17:31:24 +0800
committerChun-wei Fan <fanchunwei@src.gnome.org>2021-02-23 17:48:53 +0800
commit935691f94cddb1f5c55db5f414cb9ff992d8e43f (patch)
tree98c313027452d0f9995d568fbd99aeb743cef75c
parent4d6f110ca29b187a18ece5a9fbfb33fa5d68d909 (diff)
downloadgtk+-935691f94cddb1f5c55db5f414cb9ff992d8e43f.tar.gz
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.
-rw-r--r--win32/detectenv-msvc.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/win32/detectenv-msvc.mak b/win32/detectenv-msvc.mak
index 22facfee23..29b73d88bf 100644
--- a/win32/detectenv-msvc.mak
+++ b/win32/detectenv-msvc.mak
@@ -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