wok-4.x view mplayer-svn/stuff/mplayer-svn-29268-liba52-gcc44.u @ rev 4229

partimage*, fix build with gcc 4.x
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Sep 24 12:41:52 2009 +0000 (2009-09-24)
parents
children
line source
1 --- configure 2009-04-16 12:02:10.000000000 +0200
2 +++ configure 2009-05-22 15:23:38.000000000 +0200
3 @@ -6426,6 +6426,7 @@
4 def_liba52='#undef CONFIG_LIBA52'
5 def_liba52_internal="#undef CONFIG_LIBA52_INTERNAL"
6 if test "$_liba52_internal" = yes ; then
7 + test "$cc_vendor" = gnu && test "$cc_version" = 4.4.0 && CFLAGS=$(echo $CFLAGS|sed "s/ *-O4 */ -O2 /")
8 _liba52=yes
9 def_liba52_internal="#define CONFIG_LIBA52_INTERNAL 1"
10 _res_comment="internal"