Module Name: src Committed By: mrg Date: Wed Mar 23 09:00:31 UTC 2016
Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: apply -Wno-error=maybe-uninitialized with GCC 5.3. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/external/bsd/ntp/bin/ntpd/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/bsd/ntp/bin/ntpd/Makefile diff -u src/external/bsd/ntp/bin/ntpd/Makefile:1.19 src/external/bsd/ntp/bin/ntpd/Makefile:1.20 --- src/external/bsd/ntp/bin/ntpd/Makefile:1.19 Fri Jul 10 14:20:28 2015 +++ src/external/bsd/ntp/bin/ntpd/Makefile Wed Mar 23 09:00:31 2016 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2015/07/10 14:20:28 christos Exp $ +# $NetBSD: Makefile,v 1.20 2016/03/23 09:00:31 mrg Exp $ .include <bsd.own.mk> @@ -86,4 +86,9 @@ CPPFLAGS+=-I${IDIST}/include -I${IDIST}/ .PATH: ${DIST} YHEADER=1 +# XXXGCC5 +.if defined(HAVE_GCC) && ${HAVE_GCC} == 53 && ${ACTIVE_CC} == "gcc" +COPTS.ntp_control.c+= -Wno-error=maybe-uninitialized +.endif + .include <bsd.prog.mk>