Re: [flac-dev] [PATCH] Clean up CFLAGS detecting code and add AX macro for _FORTIFY_SOURCE

2017-02-05 Thread David Seifert
On Sun, 2017-02-05 at 20:47 +1100, Erik de Castro Lopo wrote: > David Seifert wrote: > > > - AC_PROG_SED > > - CFLAGS=$(echo "$CFLAGS" | $SED 's/-O2//') > > - CFLAGS="-O3 -funroll-loops $CFLAGS" > > + CFLAGS="-O3 -funroll-loops" > > Doesn't this mean that `-O2` and `-O3` will end up in CF

Re: [flac-dev] [PATCH] Clean up CFLAGS detecting code and add AX macro for _FORTIFY_SOURCE

2017-02-05 Thread Erik de Castro Lopo
David Seifert wrote: > - AC_PROG_SED > - CFLAGS=$(echo "$CFLAGS" | $SED 's/-O2//') > - CFLAGS="-O3 -funroll-loops $CFLAGS" > + CFLAGS="-O3 -funroll-loops" Doesn't this mean that `-O2` and `-O3` will end up in CFLAGS? Erik -- -