[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Mark Dickinson wrote: > > Mark Dickinson added the comment: > > Ah, I understand now: -O2 started appearing in debug builds in r79218, which > changed the Makefile to respect CFLAGS. I tested a variety of revision, but > failed to test revision in betw

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Mark Dickinson
Mark Dickinson added the comment: Ah, I understand now: -O2 started appearing in debug builds in r79218, which changed the Makefile to respect CFLAGS. I tested a variety of revision, but failed to test revision in between that and Victor's change... -- __

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Mark Dickinson
Mark Dickinson added the comment: > Yes. I've restored the previous behavior of configure to > have AC_PROG_CC determine CFLAGS defaults. Just to be clear, the previous behaviour has *not* been restored. Up until r80665, a '--with-pydebug' build did not include optimization. Since r80665, i

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Marc-Andre Lemburg wrote: > > Marc-Andre Lemburg added the comment: > > Mark Dickinson wrote: >> >> Mark Dickinson added the comment: >> >> Since r80665, a >> >> ./configure --with-pydebug >> >> seems to give compilation with -O2 (tested on OS X and Linu

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Marc-Andre Lemburg
Marc-Andre Lemburg added the comment: Mark Dickinson wrote: > > Mark Dickinson added the comment: > > Since r80665, a > > ./configure --with-pydebug > > seems to give compilation with -O2 (tested on OS X and Linux). Is this > intentional? Yes. I've restored the previous behavior of confi

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-05-05 Thread Mark Dickinson
Mark Dickinson added the comment: Since r80665, a ./configure --with-pydebug seems to give compilation with -O2 (tested on OS X and Linux). Is this intentional? I'm getting, e.g., gcc -c -g -O2 -g -Wall -Wstrict-prototypes -I. -IInclude -I./Include -DPy_BUILD_CORE -o Modules/python.o

[issue8211] configure: allow user-provided CFLAGS to override AC_PROG_CC defaults

2010-04-30 Thread Marc-Andre Lemburg
Changes by Marc-Andre Lemburg : -- assignee: -> lemburg priority: release blocker -> normal resolution: -> fixed status: open -> closed title: configure: ignore AC_PROG_CC hardcoded CFLAGS -> configure: allow user-provided CFLAGS to override AC_PROG_CC defaults __