On Apr 1, 2008, at 4:45 PM, Johannes Schlüter 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....


The fix only prepends -O2 in the non-debug case; in the debug case -O0 is prepended explicitly already.

-- Gwynne, Daughter of the Code
"This whole world is an asylum for the incurable."




--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to