| 1 | diff --git a/Makefile b/Makefile |
| 2 | index d0c5071..5692f7a 100644 |
| 3 | |
| 4 | |
| 5 | else ifeq ($(shell echo $(LOCAL_ARCH) | head -c 4),armv) |
| 6 | TARGET_ARCH ?= arm |
| 7 | else ifeq ($(LOCAL_ARCH),s390x) |
| 8 | TARGET_ARCH ?= s390x |
| 9 | +else ifeq ($(LOCAL_ARCH),loongarch64) |
| 10 | + TARGET_ARCH ?= loong64 |
| 11 | else |
| 12 | $(error This system's architecture $(LOCAL_ARCH) isn't supported) |
| 13 | endif |