[MPlayer-dev-eng] [PATCH] fix compilation on Darwin

Diego Biurrun diego at biurrun.de
Sun Apr 12 19:10:51 CEST 2009


On Sun, Apr 12, 2009 at 06:48:01PM +0200, Guillaume POIRIER wrote:
> 
> On Sun, Apr 12, 2009 at 5:47 PM, Diego Biurrun <diego at biurrun.de> wrote:
> > On Sun, Apr 12, 2009 at 04:43:32PM +0100, vmrsss wrote:
> >> On 12 Apr 2009, at 09:44, Guillaume POIRIER wrote:
> >> >Well, that doesn't fix the problem entirely, since it'll still lack a
> >> >few other flags that optimize compilation, such as -march=...
> >>
> >> well, configure rightly identify the processor as core2, but you're
> >> right it does not seem to add the -march=core2 flag anymore.
> >
> > What flag changed exactly and with which revision of configure?
> 
> I'm not passing any flag to configure, just running a plain "./configure"
> 
> The problem is that $CFLAGS is set too soon on Darwin, at:
>  if darwin; then
>   CFLAGS="$CFLAGS -mdynamic-no-pic -falign-loops=16 -shared-libgcc"
>   _timer=timer-darwin.c
> fi
> 
> Does that help?

Yes, issue fixed.

Diego



More information about the MPlayer-dev-eng mailing list