summaryrefslogtreecommitdiff
path: root/gcc/configure
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/configure')
-rwxr-xr-xgcc/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/configure b/gcc/configure
index d89c0e3c529..7cdbe798005 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -6554,7 +6554,7 @@ EOF
if echo "$as_ver" | grep GNU > /dev/null; then
as_ver=`echo $as_ver | sed -e 's/.* //'`
as_major=`echo $as_ver | sed 's/\..*//'`
- as_minor=`echo $as_ver | sed 's/[^.]*.\([^.]*\).*/\1/'`
+ as_minor=`echo $as_ver | sed 's/[^.]*.\([0-9]*\).*/\1/'`
if test $as_major -eq 2 -a $as_minor -lt 11; then
gcc_cv_as_leb128="no"
fi