[MPlayer-cvslog] r19838 - trunk/configure

diego subversion at mplayerhq.hu
Thu Sep 14 20:29:24 CEST 2006


Author: diego
Date: Thu Sep 14 20:29:24 2006
New Revision: 19838

Modified:
   trunk/configure

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


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Sep 14 20:29:24 2006
@@ -1367,6 +1367,10 @@
 	    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
 



More information about the MPlayer-cvslog mailing list