changeset 15707:8c7268bfe792

AMD-64's version of Suse ships a version of 3.3 hacked with broken backported patches from gcc 3.4, which broke CPU + GCC version detection. Patch by Corey Hickey < bugfood - ml WOOP fatooh POUM org>
author gpoirier
date Thu, 09 Jun 2005 21:14:36 +0000
parents c6bedab03c97
children bdb826438aa8
files configure
diffstat 1 files changed, 7 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Jun 09 20:13:53 2005 +0000
+++ b/configure	Thu Jun 09 21:14:36 2005 +0000
@@ -807,9 +807,9 @@
 	fi
 	;;
     15) iproc=686
-    	# athlon64 cpu-type only supported in gcc >= 3.4.0, but that will be
-    	# caught and remedied in the optimation tests below.
-    	proc=athlon64
+    	# k8 cpu-type only supported in gcc >= 3.4.0, but that will be
+    	# caught and remedied in the optimization tests below.
+    	proc=k8
     	;;
 
     *) proc=athlon-xp iproc=686 ;;
@@ -964,16 +964,15 @@
     _target_arch='TARGET_ARCH_X86_64 = yes'
     iproc='x86_64'
 
-    # athlon64 cpu-type only supported in gcc >= 3.4.0
-    # also, gcc >= 3.4.0  doesn't support -mcpu, we have to use -mtune instead
+    # gcc >= 3.4.0  doesn't support -mcpu, we have to use -mtune instead
     if test "$cc_vendor" = "gnu" && test "$_cc_major" -gt 3 -o "$_cc_major" -eq 3 -a "$_cc_minor" -ge 4 ; then
-    	proc=athlon64
 	cpuopt=-mtune
     else
-    	proc=athlon-xp
 	cpuopt=-mcpu
     fi
-
+    # k8 cpu-type only supported in gcc >= 3.4.0, but that will be
+    # caught and remedied in the optimization tests below.
+    proc=k8
 
     echocheck "GCC & CPU optimization abilities"
 cat > $TMPC << EOF