diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-20 21:15:28 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-01-20 21:15:28 +0000 |
commit | df4e24e34b601cc5ad9596c5a1476ef905d9acf9 (patch) | |
tree | cda6c055a15eb83683712a311988fe11e228878d /configure | |
parent | 62828b129dd904759883f9f1ac3f290f7a3fbbde (diff) | |
download | mpv-df4e24e34b601cc5ad9596c5a1476ef905d9acf9.tar.bz2 mpv-df4e24e34b601cc5ad9596c5a1476ef905d9acf9.tar.xz |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -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 |