List:Commits« Previous MessageNext Message »
From:Chad MILLER Date:August 18 2008 5:39pm
Subject:bzr push into mysql-5.0 branch (chad:2667 to 2668) Bug#27526
View as plain text  
 2668 Chad MILLER	2008-08-18
      Bug#27526: BUILD/check_cpu misbehaving on Debian testing
      
      more clever gcc version checking.
modified:
  BUILD/check-cpu

 2667 Chad MILLER	2008-08-18 [merge]
      Merge from 5.0-bugteam trunk.
modified:
  netware/BUILD/compile-linux-tools
  netware/BUILD/nwbootstrap
  netware/Makefile.am
  netware/mysql_install_db.c

=== modified file 'BUILD/check-cpu'
--- a/BUILD/check-cpu	2007-05-29 10:25:51 +0000
+++ b/BUILD/check-cpu	2008-08-18 17:28:46 +0000
@@ -169,7 +169,7 @@ check_cpu () {
   fi
 
   cc_ver=`$cc --version | sed 1q`
-  cc_verno=`echo $cc_ver | sed -e 's/^.*gcc/gcc/g; s/[^0-9. ]//g;	 s/^ *//g; s/ .*//g'`
+  cc_verno=`echo $cc_ver | sed -e 's/^.*(GCC)//g; s/[^0-9. ]//g;	 s/^ *//g; s/ .*//g'`
   set -- `echo $cc_verno | tr '.' ' '`
   cc_major=$1
   cc_minor=$2

Thread
bzr push into mysql-5.0 branch (chad:2667 to 2668) Bug#27526Chad MILLER18 Aug