Commit 0115927e authored by Måns Rullgård's avatar Måns Rullgård

Use CFLAGS in default DEPEND_CMD

Originally committed as revision 19415 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 9e7f3277
...@@ -1277,7 +1277,7 @@ target_path='.' ...@@ -1277,7 +1277,7 @@ target_path='.'
# gcc stupidly only outputs the basename of targets with -MM, but we need the # gcc stupidly only outputs the basename of targets with -MM, but we need the
# full relative path for objects in subdirectories for non-recursive Make. # full relative path for objects in subdirectories for non-recursive Make.
DEPEND_CMD='$(DEPCC) $(CPPFLAGS) -MM $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"' DEPEND_CMD='$(DEPCC) $(CPPFLAGS) $(CFLAGS) -MM $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o,"'
# find source path # find source path
source_path="$(dirname "$0")" source_path="$(dirname "$0")"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment