summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/makefile b/makefile
index 5aa597ee0e7..24adcc8151d 100644
--- a/makefile
+++ b/makefile
@@ -140,9 +140,14 @@ MAKEPARAMS := -R
#
ifeq ($(OS),Windows_NT)
+OSARCH := $(shell wmic OS get OSArchitecture)
OS := windows
GENIEOS := windows
+ifneq ($(findstring ARM 64-bit,$(OSARCH)),)
+PLATFORM := arm64
+else
PLATFORM := x86
+endif
else
UNAME := $(shell uname -mps)
UNAME_M := $(shell uname -m)