summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-17 17:19:56 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-17 17:19:56 +0000
commitb02e7924b9147f3571f0dd0e34c5461a798367ea (patch)
tree69c9192f7098aff45cbf07ff36479f6b23ba8829 /libswscale
parent1737500919392ae0830c5a3ee2f147b3fe17abe1 (diff)
downloadmpv-b02e7924b9147f3571f0dd0e34c5461a798367ea.tar.bz2
mpv-b02e7924b9147f3571f0dd0e34c5461a798367ea.tar.xz
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 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/Makefile b/libswscale/Makefile
index 38a33e20a6..a28c67c8dc 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -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