Discard -Wdeclaration-after-statement warning.
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 21 Jan 2007 23:21:50 +0000 (23:21 +0000)
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>
Sun, 21 Jan 2007 23:21:50 +0000 (23:21 +0000)
patch by Carl Eugen Hoyos, cehoyos ag.or at

git-svn-id: svn://git.mplayerhq.hu/mplayer/trunk@21992 b3059339-0415-0410-9bf9-f77b7e298cf2

libmpdemux/Makefile

index 155c297..96c41fa 100644 (file)
@@ -74,6 +74,6 @@ CFLAGS-$(CONFIG_LIBAVUTIL)      += -I../libavutil
 CFLAGS-$(CONFIG_LIBAVCODEC)     += -I../libavcodec
 CFLAGS-$(CONFIG_LIBAVFORMAT)    += -I../libavformat
 
-CXXFLAGS  = $(CFLAGS) -D__STDC_LIMIT_MACROS
+CXXFLAGS  = $(subst -Wdeclaration-after-statement,,$(CFLAGS)) -D__STDC_LIMIT_MACROS
 
 include ../mpcommon.mak