[Bro] How to turn off -O2 build flags ?

Siwek, Jon jsiwek at illinois.edu
Thu Oct 23 07:46:05 PDT 2014


> On Oct 23, 2014, at 8:50 AM, Seth Hall <seth at icir.org> wrote:
> 
> You could build with --enable-debug, but that turns on a lot of extra debugging and make Bro run quite a bit slower.  

Just wondering if you’ve done any recent measurements? I can’t remember if [1] completely eliminated the overhead of —enable-debug without any `bro -B` flags versus just -O0, but it did help a lot.

- Jon

[1] https://github.com/bro/bro/commit/302c063874f03c94eb0f96c974a2d0e2f137e51f




More information about the Bro mailing list