[AArch64] --with-arch in config.gcc support "."
authorJiong Wang <jiong.wang@arm.com>
Thu, 15 Oct 2015 09:19:42 +0000 (09:19 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Thu, 15 Oct 2015 09:19:42 +0000 (09:19 +0000)
* config.gcc: Recognize "." in architecture base name for AArch64.

From-SVN: r228837

gcc/ChangeLog
gcc/config.gcc

index 30860c45647d27c1be8e5da04ea62e1978326711..5a0fde82ca78a2012e0368358845da2660fdf590 100644 (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
index 1962b0fa923816715ab6688a5b03294fcbf668b1..33d2cb83bcaa53c05bb93ce801a1980d3fe2e16d 100644 (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