# HG changeset patch # User gpoirier # Date 1118351676 0 # Node ID 8c7268bfe792364fbcba53cfaf82d2870a550f30 # Parent c6bedab03c977ca85463074204b62a4f80eab835 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> diff -r c6bedab03c97 -r 8c7268bfe792 configure --- 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