Re: [PATCH v3] configure: Fix default -O2 being added when CFLAGS not set

2022-04-14 Thread Daniel Kiper
On Mon, Apr 11, 2022 at 12:49:01PM -0400, Robbie Harwood wrote: > Glenn Washburn writes: > > > Autoconf will set a default CFLAGS of "-g -O2" if CFLAGS is not set. CFLAGS > > was defaulted to "" early in configure to prevent this. A recent commit > > ad9ccf660013c208077b1e983d6c824df25ed1cf ("conf

Re: [PATCH v3] configure: Fix default -O2 being added when CFLAGS not set

2022-04-11 Thread Robbie Harwood
Glenn Washburn writes: > Autoconf will set a default CFLAGS of "-g -O2" if CFLAGS is not set. CFLAGS > was defaulted to "" early in configure to prevent this. A recent commit > ad9ccf660013c208077b1e983d6c824df25ed1cf ("configure: Fix various new > autotools warnings") added AC_USE_SYSTEM_EXTENSI

[PATCH v3] configure: Fix default -O2 being added when CFLAGS not set

2022-04-08 Thread Glenn Washburn
Autoconf will set a default CFLAGS of "-g -O2" if CFLAGS is not set. CFLAGS was defaulted to "" early in configure to prevent this. A recent commit ad9ccf660013c208077b1e983d6c824df25ed1cf ("configure: Fix various new autotools warnings") added AC_USE_SYSTEM_EXTENSIONS, which pulls in the autoconf