mirror of https://github.com/mpv-player/mpv
On Darwin, don't use hostinfo on _all_ x86 variants to detect the running CPU,
use cpuinfo instead. This allows MPlayer to get one step closer to building in 64 bits mode on Darwin, if one passes --target=x86_64-darwin to configure. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27931 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
7ecf9a6d04
commit
5dd1c3e739
|
@ -1543,7 +1543,7 @@ elif test -r /compat/linux/proc/cpuinfo && ! x86_32 ; then
|
|||
# FreeBSD with Linux emulation /proc mounted,
|
||||
# extract CPU information from it
|
||||
_cpuinfo="cat /compat/linux/proc/cpuinfo"
|
||||
elif darwin && ! x86_32 ; then
|
||||
elif darwin && ! x86 ; then
|
||||
# use hostinfo on Darwin
|
||||
_cpuinfo="hostinfo"
|
||||
elif aix; then
|
||||
|
|
Loading…
Reference in New Issue