[flac-dev] 1.21 vs 1.3 encoding speed
Miroslav Lichvar
mlichvar at redhat.com
Tue Jul 29 01:46:20 PDT 2014
On Sat, Jul 26, 2014 at 06:29:36PM +1000, Erik de Castro Lopo wrote:
> Martijn van Beurden wrote:
> > See the following lines in the configure script
> >
> > > if test "x$user_cflags" = x; then
> > > CFLAGS="-O3 -funroll-loops -Wall -W -Winline"
> > > fi
> >
> > Maybe we should change this 'overriding' behaviour of CFLAGS and
> > add -O3 just like most other options are added to the CFLAGS?
>
> Wow, I didn't even know that was there.
>
> I have now replaced the above with:
>
> CFLAGS="-O3 -funroll-loops -Wall -W -Winline $CFLAGS"
>
> so CFLAGS are preserved and enforce optimisations.
Well, this reverts the commit 18e0154. How is the user supposed to set
CFLAGS without getting -O3 -funroll-loops there? (e.g. to minimize the
size of the compiled binaries)
--
Miroslav Lichvar
More information about the flac-dev
mailing list