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

Jan Stary hans at stare.cz
Mon Dec 1 02:26:02 PST 2014


On Dec 01 00:33:34, mle+la at mega-nerd.com wrote:
> Jan Stary wrote:
> 
> > 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?
> 
> NDEBUG means "no debug". Turning on optimisations when debug is
> disabled makes sense to me. What's the problem?

Exactly. NDEBUG means "no debug". Nothing to do with "optimizations",
let alone inventing -O flags the user didn't specify.



More information about the flac-dev mailing list