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