diff options
| author | 2025-04-18 06:47:30 +1000 | |
|---|---|---|
| committer | 2025-04-18 07:13:19 +1000 | |
| commit | 33b1c17fe53558276d4db4d914d339102d529c7b (patch) | |
| tree | 253441cdca17c2f7d2150e31beda72f2b79b0679 /makefile | |
| parent | b26662f1bba6809df145d9e8b3f78f66e3a7c7db (diff) | |
makefile: Detect Windows for 64-bit ARM and set PLATFORM accordingly.
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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) |
