[SCM] libav/experimental: configure: replace unwarranted gcc bashing with a real explanation

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:09:49 UTC 2013


The following commit has been merged in the experimental branch:
commit a158446b2842143a1ea0a284952571435c9ad3c4
Author: Måns Rullgård <mans at mansr.com>
Date:   Thu Jul 1 11:11:23 2010 +0000

    configure: replace unwarranted gcc bashing with a real explanation
    
    Originally committed as revision 23929 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 392e0df..92fdd01 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'
 

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list