mirror of https://github.com/mpv-player/mpv
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
|
@ -1937,6 +1937,14 @@ EOF
|
||||||
*) ;;
|
*) ;;
|
||||||
esac
|
esac
|
||||||
fi
|
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
|
# gcc 4.0 and up supports POWER5
|
||||||
if test "$_cc_major" -ge "4"; then
|
if test "$_cc_major" -ge "4"; then
|
||||||
case "$proc" in
|
case "$proc" in
|
||||||
|
|
Loading…
Reference in New Issue