On 12/07/2012 10:40 AM, Chad Versace wrote:
On 12/07/2012 01:29 PM, [email protected] wrote:
./configure --enable-debug seems to leave -O2 omptimization flag
turned on.

Is there a quick method to switch it off?

During the ./configure&&  make&&  make install process, I set

export CFLAGS="-O0 -g3"
export CXXFLAGS="-O0 -g3"

The last thing that the configure script prints is a summary,
which contains the value of CFLAGS and CXXFLAGS among much else. To verify
that this works for you, examine the summary.

I've mentioned this before, but it would be nice if specifying --enabled-debug also turned off -O2.

-Brian

_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to