[AArch64] --with-arch in config.gcc support "."

* config.gcc: Recognize "." in architecture base name for AArch64.

From-SVN: r228837
This commit is contained in:
Jiong Wang 2015-10-15 09:19:42 +00:00 committed by Jiong Wang
parent a803b9b30f
commit 1140d42f76
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2015-10-15 Jiong Wang <jiong.wang@arm.com>
* config.gcc: Recognize "." in architecture base name for AArch64.
2015-10-14 Uros Bizjak <ubizjak@gmail.com>
* config/mips/mips.h (MIPS_STACK_ALIGN): Implement using

View File

@ -3545,7 +3545,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