# If arch is armv7-m, use thumb mode only.
if [[ ${arm_arch} =~ "-m" ]] ; then
confgcc+=" --with-mode=thumb"
fi