[FFmpeg-cvslog] r19416 - trunk/common.mak

stefano subversion
Sun Jul 12 17:50:26 CEST 2009


Author: stefano
Date: Sun Jul 12 17:50:25 2009
New Revision: 19416

Log:
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.

Modified:
   trunk/common.mak

Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak	Sun Jul 12 16:13:34 2009	(r19415)
+++ trunk/common.mak	Sun Jul 12 17:50:25 2009	(r19416)
@@ -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) $<



More information about the ffmpeg-cvslog mailing list