On 11/25/14 at 07:47am, Ben Pfaff wrote:
> On Tue, Oct 28, 2014 at 07:51:16AM -0700, Ben Pfaff wrote:
> > From: Alexandru Ardelean <a...@ocedo.com>
> > 
> > This is mostly required because of GCC 4.9 which seems
> > to error out with:
> >   openvswitch/datapath/linux/datapath.c:2108:10:
> >        error: macro "DATE" might prevent reproducible builds
> > 
> > We would have wanted to add '-Wno-error=date-time' directly
> > but that would be too specific, so we decided to add
> > a generic make flag and configure it with what we need.
> > 
> > Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com>
> > ---
> > This is from https://github.com/openvswitch/ovs/pull/18.  I'm posting it
> > here for review because I'm not the right person to review it and I'm not
> > sure that the OVS kernel maintainers are subscribed to the github issues
> > tracker.
> 
> Pravin or Jesse, would you mind take a look at this?

Alexandru,

You can already pass in additional build flags through the Kbuild
EXTRA_CFLAGS:

$ ./configure --with-linux=...
$ cd datapath && make EXTRA_CFLAGS=-Wno-error=date-time

Does that suit your needs?
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to