mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 21:27:08 +00:00
Support for PowerPC 440x embedded CPUs.
Approved by Luca Barbato. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22347 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
bf15108d56
commit
ea63308d9a
8
configure
vendored
8
configure
vendored
@ -1937,6 +1937,14 @@ EOF
|
||||
*) ;;
|
||||
esac
|
||||
fi
|
||||
# gcc 3.4 and up supports 440*
|
||||
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "4" || test "$_cc_major" -ge "4"; then
|
||||
case "$proc" in
|
||||
440EP*) _march='-mcpu=440fp' _mcpu='-mtune=440fp' ;;
|
||||
440G* ) _march='-mcpu=440' _mcpu='-mtune=440' ;;
|
||||
*) ;;
|
||||
esac
|
||||
fi
|
||||
# gcc 4.0 and up supports POWER5
|
||||
if test "$_cc_major" -ge "4"; then
|
||||
case "$proc" in
|
||||
|
Loading…
Reference in New Issue
Block a user