From a158446b2842143a1ea0a284952571435c9ad3c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Thu, 1 Jul 2010 11:11:23 +0000 Subject: [PATCH] configure: replace unwarranted gcc bashing with a real explanation Originally committed as revision 23929 to svn://svn.ffmpeg.org/ffmpeg/trunk --- configure | 4 ++-- 1 file 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'