mirror of https://github.com/mpv-player/mpv
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:
parent
627b468f96
commit
b32aa254f9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue