Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/ntp/bin/ntpd apply -Wno-error=maybe-uninitializ...



details:   https://anonhg.NetBSD.org/src/rev/34c114fba8bd
branches:  trunk
changeset: 814484:34c114fba8bd
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Mar 23 09:00:31 2016 +0000

description:
apply -Wno-error=maybe-uninitialized with GCC 5.3.

diffstat:

 external/bsd/ntp/bin/ntpd/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9ecce914deb9 -r 34c114fba8bd external/bsd/ntp/bin/ntpd/Makefile
--- a/external/bsd/ntp/bin/ntpd/Makefile        Wed Mar 23 08:51:02 2016 +0000
+++ b/external/bsd/ntp/bin/ntpd/Makefile        Wed Mar 23 09:00:31 2016 +0000
@@ -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 @@
 .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>



Home | Main Index | Thread Index | Old Index