aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-26 20:28:40 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-26 20:28:40 +0000
commit7f02d3570a6563bd84bf48e7b00b7855a9b194c6 (patch)
tree1ba342af8ef169b41ffe76d72be4651de7177631
parentf30d51d74f06cefe1e8f47ea454b07b361401076 (diff)
downloadffmpeg-7f02d3570a6563bd84bf48e7b00b7855a9b194c6.tar.gz
Add -I flags to HOSTCFLAGS
Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--common.mak5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index d4eda1b4f2..8c2b375d40 100644
--- a/common.mak
+++ b/common.mak
@@ -33,9 +33,12 @@ endif
ALLFFLIBS = avcodec avdevice avfilter avformat avutil postproc swscale
-CPPFLAGS := -I$(BUILD_ROOT_REL) -I$(SRC_PATH) $(CPPFLAGS)
+IFLAGS := -I$(BUILD_ROOT_REL) -I$(SRC_PATH)
+CPPFLAGS := $(IFLAGS) $(CPPFLAGS)
CFLAGS += $(ECFLAGS)
+HOSTCFLAGS += $(IFLAGS)
+
%.o: %.c
$(CCDEP)
$(CC) $(CPPFLAGS) $(CFLAGS) $(CC_DEPFLAGS) -c $(CC_O) $<