From adcbd6eac4c4f80634834bbc486fe3fca52768da Mon Sep 17 00:00:00 2001 From: stefano Date: Sun, 12 Jul 2009 15:50:25 +0000 Subject: [PATCH] Append the user CPPFLAGS value to the CPPFLAGS used for compilation, rather than prepend it. This way there is the guarantee that the included headers are those in the FFmpeg sources, rather than pre-installed headers referenced by the user CPPFLAGS. git-svn-id: file:///var/local/repositories/ffmpeg/trunk@19416 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- common.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.mak b/common.mak index 02c730338..9cc735786 100644 --- a/common.mak +++ b/common.mak @@ -18,7 +18,7 @@ endif ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale -CPPFLAGS += -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) +CPPFLAGS := -DHAVE_AV_CONFIG_H -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(CPPFLAGS) %.o: %.c $(CC) $(CPPFLAGS) $(CFLAGS) $(LIBOBJFLAGS) -c $(CC_O) $< -- 2.11.4.GIT