Since armv8.1 added, we need to improve --with-arch recognition sed pattern to catch the new "." in the architecture base name.
OK for trunk? 2015-10-14 Jiong Wang <jiong.w...@arm.com> gcc/ * config.gcc: Recognize "." in architecture base name for AArch64.
diff --git a/gcc/config.gcc b/gcc/config.gcc index 5818663..215ad9a 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3544,7 +3544,7 @@ case "${target}" in eval "val=\$with_$which" base_val=`echo $val | sed -e 's/\+.*//'` - ext_val=`echo $val | sed -e 's/[a-z0-9\-]\+//'` + ext_val=`echo $val | sed -e 's/[a-z0-9\.\-]\+//'` if [ $which = arch ]; then def=aarch64-arches.def