List:Commits« Previous MessageNext Message »
From:Daniel Fischer Date:March 1 2007 7:58pm
Subject:bk commit into 5.0 tree (df:1.2429) BUG#26701
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of df. When df does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-03-01 20:58:51+01:00, df@stripped +1 -0
  BUG#26701 check-cpu compile flags in x86-64 doesn't support gcc < 3.4,
  apply suggestion from jocelyn fournier

  BUILD/check-cpu@stripped, 2007-03-01 20:58:50+01:00, df@stripped +8 -1
    BUG#26701 check-cpu compile flags in x86-64 doesn't support gcc < 3.4,
    apply suggestion from jocelyn fournier

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	df
# Host:	pippilotta.erinye.com
# Root:	/shared/home/df/mysql/build/mysql-5.0-build-work-26701

--- 1.18/BUILD/check-cpu	2007-01-22 16:39:37 +01:00
+++ 1.19/BUILD/check-cpu	2007-03-01 20:58:50 +01:00
@@ -179,7 +179,14 @@
                     check_cpu_args='-mcpu=$cpu_arg -mtune=$cpu_arg'
             ;;
           x86_64-*)
-                    check_cpu_args='-mtune=$cpu_arg'
+                case "$cc_verno" in
+                      3.4*|3.5*|4.*)
+                            check_cpu_args='-mtune=$cpu_arg'
+                            ;;
+                      *)
+                            check_cpu_args='-mcpu=$cpu_arg'
+                            ;;
+            esac
             ;;
           *)
             check_cpu_cflags=""
Thread
bk commit into 5.0 tree (df:1.2429) BUG#26701Daniel Fischer1 Mar