|
From: | Howard Chu |
Subject: | Re: debug builds with NO optimizations |
Date: | Mon, 06 Feb 2006 16:55:13 -0800 |
User-agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060115 SeaMonkey/1.5a Mnenhy/0.7.3.0 |
Andreas Schwab wrote:
"John Calcote" <address@hidden> 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/
[Prev in Thread] | Current Thread | [Next in Thread] |