Use CFLAGS in default DEPEND_CMD
authorMåns Rullgård <mans@mansr.com>
Sun, 12 Jul 2009 14:13:34 +0000 (14:13 +0000)
committerMåns Rullgård <mans@mansr.com>
Sun, 12 Jul 2009 14:13:34 +0000 (14:13 +0000)
Originally committed as revision 19415 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index d681724..dca340d 100755 (executable)
--- a/configure
+++ b/configure
@@ -1277,7 +1277,7 @@ target_path='.'
 
 # 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.
-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
 source_path="$(dirname "$0")"