summaryrefslogtreecommitdiffstats
path: root/mpcommon.mak
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 23:18:09 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-18 23:18:09 +0000
commit298ea20c97381048e94adaacd985255be959c018 (patch)
tree1b2dda7e5a2ebcf48e1ef155af5802b745d9c7cd /mpcommon.mak
parent5f6965df5d5f5550a45611d20cdfb1e84bdde9d6 (diff)
downloadmpv-298ea20c97381048e94adaacd985255be959c018.tar.bz2
mpv-298ea20c97381048e94adaacd985255be959c018.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22736 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mpcommon.mak')
-rw-r--r--mpcommon.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/mpcommon.mak b/mpcommon.mak
index a0967ef16e..cb8699b2a8 100644
--- a/mpcommon.mak
+++ b/mpcommon.mak
@@ -9,7 +9,7 @@ OBJS_MENCODER = $(addsuffix .o, $(basename $(SRCS_MENCODER)) )
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)