On Fri, Jan 02, 2015 at 09:45:35PM +0100, Mijo Safradin wrote: > Currently multiple optimization flags are defined when building with > coverage support. Currently the coverage optimization -O0 flag gets > overruled by a later '-O2' setting. For coverage, only the default > flags for coverage should be used. > > Signed-off-by: Mijo Safradin <m...@linux.vnet.ibm.com>
Hmm, I see the problem but I don't think that using CFLAGS instead of OVS_CFLAGS is the right solution. CFLAGS is supposed to be reserved for the user. It's just that the default CFLAGS screw up what we want. As an alternative I sent out a patch that edits -O2 out of CFLAGS: http://openvswitch.org/pipermail/dev/2015-January/050029.html Will you take a look? Thanks, Ben. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev