-ifeq "$(MACHINE_TYPE)" "arm"
- # ARM cannot use the x86 assembly code.
- cd $(DIR_APP) && make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux_noasm
+ cd $(DIR_APP) && make -f unix/Makefile clean
+ cd $(DIR_APP)/unix && ./configure
+ifeq "$(BUILD_ARCH)" "i586"
+ cd $(DIR_APP) && make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 generic