changeset 22718:6ddfa5da1286

Move -I. and -I.. to the front of CFLAGS so that headers in the root directory take precedence over ones in the subdirectories. This works around the problem of confusing the two copies of xvmc_render.h.
author diego
date Sun, 18 Mar 2007 23:18:09 +0000
parents 435648b07244
children 65edb9a9c710
files mpcommon.mak
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpcommon.mak	Sun Mar 18 22:49:37 2007 +0000
+++ b/mpcommon.mak	Sun Mar 18 23:18:09 2007 +0000
@@ -9,7 +9,7 @@
 CFLAGS-$(CONFIG_LIBAVUTIL)      += -I../libavutil
 CFLAGS-$(CONFIG_LIBAVCODEC)     += -I../libavcodec
 CFLAGS-$(CONFIG_LIBAVFORMAT)    += -I../libavformat
-CFLAGS += $(CFLAGS-yes) -I. -I.. $(OPTFLAGS)
+CFLAGS += -I. -I.. $(CFLAGS-yes) $(OPTFLAGS)
 
 LIBS-$(MPLAYER)  += $(LIBNAME_MPLAYER)
 LIBS-$(MENCODER) += $(LIBNAME_MENCODER)