projects
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f30d51d
)
Add -I flags to HOSTCFLAGS
author
Måns Rullgård
<mans@mansr.com>
Sat, 26 Jun 2010 20:28:40 +0000
(20:28 +0000)
committer
Måns Rullgård
<mans@mansr.com>
Sat, 26 Jun 2010 20:28:40 +0000
(20:28 +0000)
Originally committed as revision 23805 to svn://svn.ffmpeg.org/ffmpeg/trunk
common.mak
patch
|
blob
|
blame
|
history
diff --git
a/common.mak
b/common.mak
index
d4eda1b
..
8c2b375
100644
(file)
--- 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) $<