> -----Original Message-----
> From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Gurucharan
> Shetty
> Sent: Thursday, August 28, 2014 10:54 AM
> To: Eitan Eliahu
> Cc: dev@openvswitch.org; Gurucharan Shetty
> Subject: Re: [ovs-dev] [PATCH 2/2] cccl: Enable compiler optimization by
> default.
> 
> On Thu, Aug 28, 2014 at 10:45 AM, Eitan Eliahu <elia...@vmware.com>
> wrote:
> >
> > Hi Guru,
> > Do we distinguish between Debug and Releases builds? ( I recall we
> > discussed this before but forgot what was the outcome) Enabling
> optimization may cause some issues for the debugger to match the source to
> the code.
> We currently do not have a way to do that. I currently remove the "/O2" flag
> manually from cccl file to debug. (I do the same in Makefile for Linux, i.e.,
> manually remove it)
> 

It would be useful to have a configure flag to do this (--with-optimize or 
--with-debug). 

Saurabh
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to