[MPlayer-dev-eng] MIPS compiler workaround in mp3lib/Makefile

Diego Biurrun diego at biurrun.de
Sat Mar 17 09:08:39 CET 2007


On Sat, Mar 17, 2007 at 03:04:49AM +0100, Gianluigi Tiesi wrote:
> On Sat, Mar 17, 2007 at 12:47:51AM +0100, Diego Biurrun wrote:
> > The following in mp3lib/Makefile looks like a compiler bug workaround
> > (for an ancient and obsolete compiler probably) to me:
> > 
> >   ifeq ($(TARGET_ARCH_SGI_MIPS),yes)
> >   OPTFLAGS := $(OPTFLAGS:-O4=-O0)
> >   endif
> > 
> > We don't do compiler bug workarounds normally, thus I'm tempted to
> > remove it.  Opinions?
> > 
> there is already a workaround when compiling in debug mode,
> -O2 is used instead of -O0, because of gcc crazyness when compiling some
> files.

But this workaround is in configure, where it belongs ..

Diego




More information about the MPlayer-dev-eng mailing list