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 Fix the ntpd build with Clang/LLVM



details:   https://anonhg.NetBSD.org/src/rev/5586f89483f3
branches:  trunk
changeset: 933723:5586f89483f3
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri May 29 10:53:02 2020 +0000

description:
Fix the ntpd build with Clang/LLVM

Set -Wno-format-nonliteral for ntp_refclock.c

diffstat:

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

diffs (18 lines):

diff -r 9de9d720f831 -r 5586f89483f3 external/bsd/ntp/bin/ntpd/Makefile
--- a/external/bsd/ntp/bin/ntpd/Makefile        Fri May 29 10:50:36 2020 +0000
+++ b/external/bsd/ntp/bin/ntpd/Makefile        Fri May 29 10:53:02 2020 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index