[431688497f68c837444127cbac14cadba2a943709304af1da765781f49e02ac8/pangomm-2-42] NMake Makefiles: Support ARM64 Windows builds
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [431688497f68c837444127cbac14cadba2a943709304af1da765781f49e02ac8/pangomm-2-42] NMake Makefiles: Support ARM64 Windows builds
- Date: Wed, 8 Jul 2020 09:07:00 +0000 (UTC)
commit 1973000d38057330957225fd41e8ecc7a044d595
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Wed Jul 8 16:07:52 2020 +0800
NMake Makefiles: Support ARM64 Windows builds
This will make the NMake Makefiles capable of building ARM64 binaries of
pangomm, which can be used on Windows 10 on ARM systems.
MSVC_NMake/detectenv-msvc.mak | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/MSVC_NMake/detectenv-msvc.mak b/MSVC_NMake/detectenv-msvc.mak
index c854d23..5d2f78a 100644
--- a/MSVC_NMake/detectenv-msvc.mak
+++ b/MSVC_NMake/detectenv-msvc.mak
@@ -68,6 +68,8 @@ _HASH=^#
&& ![echo PLAT=Win32 >> vercl.x] \
&& ![echo $(_HASH)elif defined(_M_AMD64) >> vercl.x] \
&& ![echo PLAT=x64 >> vercl.x] \
+ && ![echo $(_HASH)elif defined(_M_ARM64) >> vercl.x] \
+ && ![echo PLAT=arm64 >> vercl.x] \
&& ![echo $(_HASH)endif >> vercl.x] \
&& ![cl -nologo -TC -P vercl.x $(ERRNUL)]
!include vercl.i
@@ -135,6 +137,8 @@ CFLAGS_ADD_NO_GL = $(CFLAGS_ADD)
!if "$(PLAT)" == "x64"
LDFLAGS_ARCH = /machine:x64
+!elseif "$(PLAT)" == "arm64"
+LDFLAGS_ARCH = /machine:arm64
!else
LDFLAGS_ARCH = /machine:x86
!endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]