Mercurial > mplayer.hg
comparison configure @ 20310:9f1ee847e8ca
Add fallback on the (undocumented) x86-64 -march option in
the non-runtime-cpudetection case for AMD64.
patch by Zuxy Meng, zuxy.meng a.t gmail d.o.t com
author | diego |
---|---|
date | Fri, 20 Oct 2006 07:32:49 +0000 |
parents | 812f9cd94b28 |
children | c9eb8504febd |
comparison
equal
deleted
inserted
replaced
20309:d4091cd48739 | 20310:9f1ee847e8ca |
---|---|
1151 if test "$proc" = "error" ; then | 1151 if test "$proc" = "error" ; then |
1152 echores "CPU optimization disabled. CPU not recognized or your compiler is too old." | 1152 echores "CPU optimization disabled. CPU not recognized or your compiler is too old." |
1153 _mcpu="" | 1153 _mcpu="" |
1154 _march="" | 1154 _march="" |
1155 fi | 1155 fi |
1156 else | 1156 else # if test "$_runtime_cpudetection" = no |
1157 _march="" | 1157 # x86-64 is an undocumented option, an intersection of k8 and nocona. |
1158 _mcpu="" | 1158 _march="-march=x86-64" |
1159 _mcpu="$cpuopt=x86-64" | |
1160 cc_check $_mcpu || _mcpu="" | |
1161 cc_check $_march $_mcpu || _march="" | |
1159 fi | 1162 fi |
1160 | 1163 |
1161 _optimizing="" | 1164 _optimizing="" |
1162 | 1165 |
1163 echores "$proc" | 1166 echores "$proc" |