Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] question about debugging

From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Sat, 27 Sep 2008 20:13:56 -0600
On Sat, Sep 27, 2008 at 06:25:41PM -0700, Burlyga, Alex wrote:

> I was wondering if there is a way to compile wireshark with no 
> optimization turned on (without -O2 flag) without editing Makefile?

Setting the CFLAGS environment variable to -O0 (oh zero) works for me.  
You need to run the configure script after doing this though and make 
clean if you want it to recompile everything with -O0.


Steve