[Mesa-dev] switching off -O2 with debugging build

2012-12-07 Thread Dmitry
./configure --enable-debug seems to leave -O2 omptimization flag turned on. Is there a quick method to switch it off? Thanks. -- With best regards, Dmitry ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] switching off -O2 with debugging build

2012-12-07 Thread Chad Versace
On 12/07/2012 01:29 PM, dmi...@freedesktop.org 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

Re: [Mesa-dev] switching off -O2 with debugging build

2012-12-07 Thread Dmitry Cherkassov
During the ./configure make make install process, I set export CFLAGS=-O0 -g3 export CXXFLAGS=-O0 -g3 It works. Thanks! -- With best regards, Dmitry ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org

Re: [Mesa-dev] switching off -O2 with debugging build

2012-12-07 Thread Brian Paul
On 12/07/2012 10:40 AM, Chad Versace wrote: On 12/07/2012 01:29 PM, dmi...@freedesktop.org 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

Re: [Mesa-dev] switching off -O2 with debugging build

2012-12-07 Thread Matt Turner
On Fri, Dec 7, 2012 at 2:11 PM, Brian Paul bri...@vmware.com wrote: On 12/07/2012 10:40 AM, Chad Versace wrote: On 12/07/2012 01:29 PM, dmi...@freedesktop.org wrote: ./configure --enable-debug seems to leave -O2 omptimization flag turned on. Is there a quick method to switch it off?

Re: [Mesa-dev] switching off -O2 with debugging build

2012-12-07 Thread Brian Paul
On 12/07/2012 03:26 PM, Matt Turner wrote: On Fri, Dec 7, 2012 at 2:11 PM, Brian Paulbri...@vmware.com wrote: On 12/07/2012 10:40 AM, Chad Versace wrote: On 12/07/2012 01:29 PM, dmi...@freedesktop.org wrote: ./configure --enable-debug seems to leave -O2 omptimization flag turned on. Is