aports/testing/cloudflared/loongarch64-support.patch
2025-06-25 03:43:17 +00:00

14 lines
405 B
Diff

diff --git a/Makefile b/Makefile
index d0c5071..5692f7a 100644
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,8 @@ else ifeq ($(shell echo $(LOCAL_ARCH) | head -c 4),armv)
TARGET_ARCH ?= arm
else ifeq ($(LOCAL_ARCH),s390x)
TARGET_ARCH ?= s390x
+else ifeq ($(LOCAL_ARCH),loongarch64)
+ TARGET_ARCH ?= loong64
else
$(error This system's architecture $(LOCAL_ARCH) isn't supported)
endif