summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorgpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-09 21:14:36 +0000
committergpoirier <gpoirier@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-06-09 21:14:36 +0000
commit638b8331335ecd251ac7c9cc939eec75b55c7d9f (patch)
tree31db703c28d00b7bf4b5fe5086bef429b222f491 /configure
parent2f376d1b39913e8ff4c4499e7cf7148ec331d4db (diff)
downloadmpv-638b8331335ecd251ac7c9cc939eec75b55c7d9f.tar.bz2
mpv-638b8331335ecd251ac7c9cc939eec75b55c7d9f.tar.xz
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> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15708 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 7 insertions, 8 deletions
diff --git a/configure b/configure
index 200917e528..75bbc914e6 100755
--- a/configure
+++ b/configure
@@ -807,9 +807,9 @@ case "$host_arch" in
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 @@ EOF
_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