diff --git a/community/libpinyin/APKBUILD b/community/libpinyin/APKBUILD
index 153fb2c5e966548d4e808a43535a272b4dc7d85f..e10e4408160dfb2c4125d20d11ba125f7b872c12 100644
--- a/community/libpinyin/APKBUILD
+++ b/community/libpinyin/APKBUILD
@@ -23,7 +23,7 @@ prepare() {
 	default_prepare
 
 	case $CARCH in
-	a*|s390x|x86)
+	a*|loongarch64|s390x|x86)
 		# this test is failing on the package builders for these architectures
 		# but not in CI
 		patch -p1 < "$srcdir"/disable-test_ngram_patch