[FFmpeg-devel] [PATCH] fix configure when compiling with -fmudflap
Diego Biurrun
diego
Wed May 7 10:36:42 CEST 2008
On Sun, May 04, 2008 at 05:15:18PM +0100, M?ns Rullg?rd wrote:
> matthieu castet <castet.matthieu at free.fr> writes:
>
> > if I compile ffmpeg with -fmudflap [1], configure fill EXTERN_PREFIX
> > with garbage (some mudflap symbol).
> >
> > The attach patch should fix the problem.
> >
> > Matthieu
> >
> > [1] configuration: --enable-gpl --enable-shared
> > --prefix=/usr/local/stow/ffmpegcvs --enable-postproc --cpu=athlon-xp
> > --extra-cflags=-fmudflap -fmudflapir
> > -I/usr/lib/gcc/i486-linux-gnu/4.3/include --extra-ldflags=-fmudflap
> > -fmudflapir -lmudflap -L/usr/lib/gcc/i486-linux-gnu/4.3
> >
> > --- configure (r?vision 13049)
> > +++ configure (copie de travail)
> > @@ -1473,7 +1473,7 @@
> > check_cc <<EOF || die "Symbol mangling check failed."
> > int ff_extern;
> > EOF
> > -sym=$($nm -P -g $TMPO)
> > +sym=$($nm -P -g $TMPO | grep ff_extern)
> > extern_prefix=${sym%%ff_extern*}
>
> OK
Applied.
Diego
More information about the ffmpeg-devel
mailing list