From: Alexandru Ardelean <[email protected]> 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 <[email protected]> --- 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. datapath/linux/Makefile.main.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/datapath/linux/Makefile.main.in b/datapath/linux/Makefile.main.in index 7d18253..70a6c2e 100644 --- a/datapath/linux/Makefile.main.in +++ b/datapath/linux/Makefile.main.in @@ -68,10 +68,10 @@ ifeq (,$(wildcard $(CONFIG_FILE))) endif default: - $(MAKE) -C $(KSRC) M=$(builddir) modules + $(MAKE) -C $(KSRC) M=$(builddir) $(KCFLAGS) modules modules_install: - $(MAKE) -C $(KSRC) M=$(builddir) modules_install + $(MAKE) -C $(KSRC) M=$(builddir) $(KCFLAGS) modules_install depmod `sed -n 's/#define UTS_RELEASE "\([^"]*\)"/\1/p' $(KSRC)/include/generated/utsrelease.h` endif -- 2.1.0 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
