-DHIGH_BIT_DEPTH=ON
-# disable assembly on x86
-ifneq (,$(filter i386 i486 i586 i686 pentium,$(DEB_HOST_GNU_CPU)))
+# disable assembly on x86 and arm
+ifneq (,$(filter i386 i486 i586 i686 pentium arm,$(DEB_HOST_GNU_CPU)))
noasm = -DENABLE_ASSEMBLY=OFF -DCMAKE_CXX_FLAGS='-DX86_64=0'
8bit_confflags += $(noasm)
10bit_confflags += $(noasm)