summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/makefile b/makefile
index fabd136bb5e..2c0b4a0d231 100644
--- a/makefile
+++ b/makefile
@@ -136,6 +136,12 @@ endif
ifneq ($(filter arm%,$(UNAME_P)),)
PLATFORM := arm
endif
+ifneq ($(filter aarch64%,$(UNAME_M)),)
+PLATFORM := arm64
+endif
+ifneq ($(filter aarch64%,$(UNAME_P)),)
+PLATFORM := arm64
+endif
ifneq ($(filter powerpc,$(UNAME_P)),)
PLATFORM := powerpc
endif
@@ -279,6 +285,13 @@ ifndef NOASM
endif
endif
+ifeq ($(findstring aarch64,$(UNAME)),aarch64)
+ARCHITECTURE :=
+ifndef NOASM
+ NOASM := 1
+endif
+endif
+
# Emscripten
ifeq ($(findstring emcc,$(CC)),emcc)
TARGETOS := asmjs