mirror of
https://github.com/mpv-player/mpv
synced 2025-01-20 21:07:29 +01:00
Merge SPARC and SPARC64 sections in the CPU detection code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27697 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6685ee530b
commit
677ce98c85
17
configure
vendored
17
configure
vendored
@ -1972,11 +1972,14 @@ EOF
|
||||
echores "$proc"
|
||||
;;
|
||||
|
||||
sparc)
|
||||
sparc|sparc64)
|
||||
_arch='SPARC'
|
||||
_target_arch='ARCH_SPARC = yes'
|
||||
iproc='sparc'
|
||||
if sunos ; then
|
||||
if test "$host_arch" = "sparc64" ; then
|
||||
_vis='yes'
|
||||
proc='ultrasparc'
|
||||
elif sunos ; then
|
||||
echocheck "CPU type"
|
||||
karch=`uname -m`
|
||||
case "`echo $karch`" in
|
||||
@ -1996,16 +1999,6 @@ EOF
|
||||
_optimizing="$proc"
|
||||
;;
|
||||
|
||||
sparc64)
|
||||
_arch='SPARC'
|
||||
_target_arch='ARCH_SPARC = yes'
|
||||
_vis='yes'
|
||||
iproc='sparc'
|
||||
proc='ultrasparc'
|
||||
_mcpu="-mcpu=$proc"
|
||||
_optimizing="$proc"
|
||||
;;
|
||||
|
||||
arm|armv4l|armv5tel)
|
||||
_arch='ARM ARMV4L'
|
||||
_target_arch='ARCH_ARMV4L = yes'
|
||||
|
Loading…
Reference in New Issue
Block a user