Fix Irix build with gcc < 3.x, closes Bugzilla #572.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19838 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2006-09-14 18:29:24 +00:00
parent 627b468f96
commit b32aa254f9
1 changed files with 4 additions and 0 deletions

4
configure vendored
View File

@ -1367,6 +1367,10 @@ EOF
R5000) _march='-mips4' _mcpu='-mtune=r5000' ;;
R8000|R10000|R12000|R14000|R16000) _march='-mips4' _mcpu='-mtune=r8000' ;;
esac
# gcc < 3.x does not support -mtune.
if test "$cc_vendor" = "gnu" && test "$_cc_major" -lt 3 ; then
_mcpu=''
fi
echores "$proc"
fi