diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-20 07:32:49 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-10-20 07:32:49 +0000 |
commit | 217f17b028a720427f40238aee6dc3ac395dc1e3 (patch) | |
tree | 8498017ca1927aaf5f251ae7763a2de4ea841da1 /configure | |
parent | 51d28fae7542a735bd6f2f85100a6c37c4154849 (diff) |
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
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20316 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1153,9 +1153,12 @@ EOF _mcpu="" _march="" fi - else - _march="" - _mcpu="" + else # if test "$_runtime_cpudetection" = no + # x86-64 is an undocumented option, an intersection of k8 and nocona. + _march="-march=x86-64" + _mcpu="$cpuopt=x86-64" + cc_check $_mcpu || _mcpu="" + cc_check $_march $_mcpu || _march="" fi _optimizing="" |