Module Name: src
Committed By: kamil
Date: Fri May 29 10:53:02 UTC 2020
Modified Files:
src/external/bsd/ntp/bin/ntpd: Makefile
Log Message:
Fix the ntpd build with Clang/LLVM
Set -Wno-format-nonliteral for ntp_refclock.c
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 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.25 src/external/bsd/ntp/bin/ntpd/Makefile:1.26
--- src/external/bsd/ntp/bin/ntpd/Makefile:1.25 Sat Feb 8 13:20:10 2020
+++ src/external/bsd/ntp/bin/ntpd/Makefile Fri May 29 10:53:02 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2020/02/08 13:20:10 fox Exp $
+# $NetBSD: Makefile,v 1.26 2020/05/29 10:53:02 kamil Exp $
.include <bsd.own.mk>
@@ -78,7 +78,7 @@ LDADD+= -L${LIBPARSE} -lparse -L${LIBIS
DPADD+= ${LIBPARSE}/libparse.a ${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
COPTS.ntp_control.c+= ${${ACTIVE_CC} == "gcc":? -Wno-format-nonliteral :}
-
+COPTS.ntp_refclock.c+= -Wno-format-nonliteral
DIST=${IDIST}/ntpd