diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-27 00:28:40 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-27 00:28:40 +0400 |
commit | 7f02d3570a6563bd84bf48e7b00b7855a9b194c6 (patch) | |
tree | 1ba342af8ef169b41ffe76d72be4651de7177631 | |
parent | f30d51d74f06cefe1e8f47ea454b07b361401076 (diff) |
Add -I flags to HOSTCFLAGS
Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | common.mak | 5 |
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) $< |