mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
AIX compiler CPU-option improvements
patch by Derek E. Lewis < dlewis &&@&& solnetworks &&.&& net > git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17444 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
62828b129d
commit
df4e24e34b
10
configure
vendored
10
configure
vendored
@ -1237,8 +1237,14 @@ EOF
|
||||
# gcc 3.3 and up supports POWER4
|
||||
if test "$_cc_major" -ge "3" && test "$_cc_minor" -ge "3" || test "$_cc_major" -ge "4"; then
|
||||
case "$proc" in
|
||||
POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4'
|
||||
_def_dcbzl='#undef NO_DCBZL' ;;
|
||||
POWER4) _march='-mcpu=power4' _mcpu='-mtune=power4' ;;
|
||||
*) ;;
|
||||
esac
|
||||
fi
|
||||
# gcc 4.0 and up supports POWER5
|
||||
if test "$_cc_major" -ge "4"; then
|
||||
case "$proc" in
|
||||
POWER5) _march='-mcpu=power5' _mcpu='-mtune=power5' ;;
|
||||
*) ;;
|
||||
esac
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user