Move all internal -I parameters to the front of CFLAGS to avoid using external

header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com

Originally committed as revision 19426 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Diego Biurrun 2006-08-17 17:19:56 +00:00
parent 0c7bb0e5b6
commit 751b900479
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ EXTRALIBS := -L../libavutil -lavutil$(BUILDSUF) $(EXTRALIBS)
endif
# NOTE: -I.. is needed to include config.h
CFLAGS=$(OPTFLAGS) -I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil \
CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
-DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
-D_GNU_SOURCE