summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-01 11:11:23 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-01 11:11:23 +0000
commita158446b2842143a1ea0a284952571435c9ad3c4 (patch)
treee4e6e547fa1610450d6b5c4e6c889edcce4a0f27 /configure
parent4bbb3e3a9d2af815986aa38427e5d2a3a34d5e2e (diff)
configure: replace unwarranted gcc bashing with a real explanation
Originally committed as revision 23929 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 392e0df845..92fdd012d4 100755
--- a/configure
+++ b/configure
@@ -1459,8 +1459,8 @@ host_libs='-lm'
target_path='$(CURDIR)'
-# 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.
+# since the object filename is not given with the -MM flag, the compiler
+# is only able to print the basename, and we must add the path ourselves
DEPEND_CMD='$(DEPCC) $(DEPFLAGS) $< | sed -e "/^\#.*/d" -e "s,^[[:space:]]*$(*F)\\.o,$(@D)/$(*F).o," > $(@:.o=.d)'
DEPFLAGS='$(CPPFLAGS) $(CFLAGS) -MM'