List:Internals« Previous MessageNext Message »
From:Stewart Smith Date:May 25 2005 2:18am
Subject:bk commit into 4.1 tree (stewart:1.2293) BUG#10796
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of stewart. When stewart 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
  1.2293 05/05/25 12:18:18 stewart@stripped +1 -0
  BUG#10796 Incorrect check-cpu result for ppc linux gcc

  BUILD/check-cpu
    1.9 05/05/25 12:18:13 stewart@stripped +4 -0
    Add no_march variable to indicate that this architecture doesn't support the -march flag to GCC

# 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:	stewart
# Host:	kennedy.(none)
# Root:	/home/stewart/Documents/MySQL/4.1/ndb

--- 1.8/BUILD/check-cpu	2005-05-11 01:51:27 +10:00
+++ 1.9/BUILD/check-cpu	2005-05-25 12:18:13 +10:00
@@ -72,6 +72,7 @@
     ;;
   *ppc)
     cpu_flag="powerpc";
+    no_march=1;
     ;;
   *)
     cpu_flag="";
@@ -106,6 +107,9 @@
       cpu_flag="$cpu_flag_old"
     fi
     check_cpu_cflags="-mcpu=$cpu_flag -march=$cpu_flag"
+    if test -n "$no_march"; then
+      check_cpu_cflags="-mcpu=$cpu_flag"
+    fi
     ;;
   *)
     check_cpu_cflags=""
Thread
bk commit into 4.1 tree (stewart:1.2293) BUG#10796Stewart Smith25 May