Re: cvs: php-src(PHP_5_3) / configure.in
| From: | Johannes Schlüter | Date: | Tue, 01 Apr 2008 20:45:53 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) / configure.in | ||
| References: | 1 2 3 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-49474@lists.php.net to get a copy of this message | ||
Gwynne,
On Tue, 2008-04-01 at 13:39 -0400, Gwynne Raskind wrote:
> -O2 is prepended to CFLAGS; with GCC the *last* -O option specified
> takes precedence. Anything specified by the user will thus override
> the default -O2. I admit this isn't the cleanest possible solution,
> but it works, and I don't understand autoconf well enough to handle it
> better.
>
If you do --enable-debug you usually get -O0 instead of -O2 so the
compiler does no optimizations which make problems with debugging....
johannes