arm/makefile: add build optimization