diff -Nru axc-0.3.7/debian/changelog axc-0.3.7/debian/changelog
--- axc-0.3.7/debian/changelog	2025-03-17 11:45:47.000000000 +0800
+++ axc-0.3.7/debian/changelog	2025-03-23 09:30:15.000000000 +0800
@@ -1,3 +1,9 @@
+axc (0.3.7-2.1) UNRELEASED; urgency=medium
+
+  * disable -fcf-protection=full on some arch that not supported. 
+
+ -- Gui-Yue <yuemeng.gui@gmail.com>  Sun, 23 Mar 2025 09:30:15 +0800
+
 axc (0.3.7-2) unstable; urgency=medium
 
   [ Evangelos Ribeiro Tzaras ]
diff -Nru axc-0.3.7/debian/patches/fix_-fcf-protection_not_support.patch axc-0.3.7/debian/patches/fix_-fcf-protection_not_support.patch
--- axc-0.3.7/debian/patches/fix_-fcf-protection_not_support.patch	1970-01-01 08:00:00.000000000 +0800
+++ axc-0.3.7/debian/patches/fix_-fcf-protection_not_support.patch	2025-03-23 09:30:15.000000000 +0800
@@ -0,0 +1,15 @@
+--- a/Makefile
++++ b/Makefile
+@@ -64,7 +64,11 @@
+ CFLAGS += $(PKGCFG_C) -std=c11 -g -Wall -Wextra -Wpedantic \
+ 	  -Wstrict-overflow -fno-strict-aliasing -funsigned-char \
+ 	  -fno-builtin-memset -fstack-protector-strong -Wformat -Werror=format-security
+-TESTFLAGS=$(PKGCFG_C) -g -O0 --coverage -Wall -Wextra -Wpedantic -Wstrict-overflow -fstack-protector-strong -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection
++TESTFLAGS=$(PKGCFG_C) -g -O0 --coverage -Wall -Wextra -Wpedantic -Wstrict-overflow -fstack-protector-strong -Wformat -Werror=format-security -fstack-clash-protection
++ifeq ($(filter $(DEB_HOST_ARCH),riscv64 armhf armel mips64el mipsel ppc64el s390x),)
++TESTFLAGS += -fcf-protection
++endif
++
+ LDFLAGS += -pthread -ldl $(PKGCFG_L) -lm
+ LDFLAGS_T= -lcmocka $(LDFLAGS)
+ PICFLAGS=-fPIC $(CFLAGS)
diff -Nru axc-0.3.7/debian/patches/series axc-0.3.7/debian/patches/series
--- axc-0.3.7/debian/patches/series	2025-03-17 11:45:47.000000000 +0800
+++ axc-0.3.7/debian/patches/series	2025-03-23 09:30:15.000000000 +0800
@@ -1,3 +1,4 @@
 01_locate_gcrypt_with_pkg-config.diff
 02_build_clean_up.diff
 03_apply_hardening_to_tests.diff
+fix_-fcf-protection_not_support.patch
