Andreas Schwab wrote:
"John Calcote" <[EMAIL PROTECTED]> writes:

My question: Anyone know of a good idiom for managing optimization flags -
including disabling the obligatory -O2 placed in CFLAGS by AC_PROG_CC?

.../configure CFLAGS=-g

That may be a clean approach, but running configure is slow enough as it is; re-running it for trivial changes is really aggravating.

If you want to memorialize the change (instead of just relying on overriding the setting at make invocation) the other obvious choice is to edit the config.status script and re-run that to propagate the changes to the Makefiles.
--
  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/


_______________________________________________
Autoconf mailing list
Autoconf@gnu.org
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to