From 2b233e3130f8f0a1d244e67bcb4b89562ef63eda Mon Sep 17 00:00:00 2001 From: mrg Date: Wed, 23 Mar 2016 09:00:31 +0000 Subject: [PATCH] apply -Wno-error=maybe-uninitialized with GCC 5.3. --- external/bsd/ntp/bin/ntpd/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/external/bsd/ntp/bin/ntpd/Makefile b/external/bsd/ntp/bin/ntpd/Makefile index ded4f30ebe97..090336ab493b 100644 --- a/external/bsd/ntp/bin/ntpd/Makefile +++ b/external/bsd/ntp/bin/ntpd/Makefile @@ -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 @@ -86,4 +86,9 @@ CPPFLAGS+=-I${IDIST}/include -I${IDIST}/sntp/libopts -I${IDIST}/ntpd -I. .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