[MPlayer-cvslog] r31783 - in trunk: Makefile configure

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Jul 25 11:53:22 CEST 2010


On Sun, Jul 25, 2010 at 11:39:47AM +0200, Diego Biurrun wrote:
> On Sat, Jul 24, 2010 at 05:14:44PM +0200, reimar wrote:
> > 
> > Log:
> > Fix dependency generation for libav*
> > 
> > --- trunk/configure	Sat Jul 24 16:43:55 2010	(r31782)
> > +++ trunk/configure	Sat Jul 24 17:14:43 2010	(r31783)
> > @@ -2562,7 +2562,7 @@ else
> >  
> >  cflag_check -mno-omit-leaf-frame-pointer && cflags_no_omit_leaf_frame_pointer="-mno-omit-leaf-frame-pointer"
> > -cflag_check -MD -MP && DEPFLAGS="-MD -MP $CFLAGS"
> > +cflag_check -MMD -MF "$mplayer_tmpdir/test.d" -MT test.o && DEPFLAGS='-MMD -MF $(@:.o=.d) -MT $@'
> 
> This is not equivalent.  -MP works around compile failures when header
> files get renamed.

First, that was by accident, but...
Are you sure this does not have some unwanted side-effects?
FFmpeg's common.mak has a dummy rule for .h files, but that isn't
quite right either since we have .c template files.
Also this workaround seems to substitute compile failures for
silent failures to rebuilt correctly, honestly failing to
compile IMO is the _correct_ behaviour, you simply have to do
a make clean after a header rename.


More information about the MPlayer-cvslog mailing list