This commit is contained in:
aristocratos 2021-11-13 21:24:01 +01:00
parent dc5f0606cb
commit bd5d867089
2 changed files with 5 additions and 5 deletions

View file

@ -26,9 +26,9 @@ ifneq ($(filter unknown Darwin, $(PLATFORM)),)
ifeq ($(PLATFORM),apple)
override PLATFORM := macos
endif
endif
ifeq ($(shell uname -v | grep ARM64 >/dev/null 2>&1; echo $$?),0)
ARCH ?= arm64
endif
else
ARCH ?= $(shell $(CXX) -dumpmachine | cut -d "-" -f 1)
endif