[flac-dev] [PATCH] configure.ac: don't try to unset -g from CFLAGS

Jan Stary hans at stare.cz
Sun Nov 30 13:45:12 PST 2014


On Nov 30 10:40:46, mle+la at mega-nerd.com wrote:
> Jan Stary wrote:
> 
> > Yes, that's for DEBUG.
> > But why does it strip -O2 and add -O3 with NDEBUG?
> 
> Well thats something from before I took over as FLAC maintainer.
> 
> My understanding is that '-O3 -funroll-loops' gives the next encoder
> and/or decoder performance.

Yes, they are optimization switches.
But what are they doing in a NDEBUG setup?
It's none of NDEBUG's businnes to be adding these, right?



More information about the flac-dev mailing list