Module Name: src
Committed By: kamil
Date: Fri May 29 10:47:37 UTC 2020
Modified Files:
src/external/bsd/ntp/lib/libntp: Makefile
Log Message:
Fix the libntp build with Clang/LLVM
Set -Wno-error=implicit-int-float-conversion
To generate a diff of this commit:
cvs rdiff -u -r1.22 -r1.23 src/external/bsd/ntp/lib/libntp/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/lib/libntp/Makefile
diff -u src/external/bsd/ntp/lib/libntp/Makefile:1.22 src/external/bsd/ntp/lib/libntp/Makefile:1.23
--- src/external/bsd/ntp/lib/libntp/Makefile:1.22 Mon May 25 20:47:37 2020
+++ src/external/bsd/ntp/lib/libntp/Makefile Fri May 29 10:47:37 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2020/05/25 20:47:37 christos Exp $
+# $NetBSD: Makefile,v 1.23 2020/05/29 10:47:37 kamil Exp $
LIBISPRIVATE=yes
@@ -87,6 +87,8 @@ CPPFLAGS+= -I${IDIST}/sntp/libopts
COPTS.msyslog.c+= -Wno-error=format-nonliteral
+CWARNFLAGS.clang+= -Wno-error=implicit-int-float-conversion
+
# For MKREPRO, avoid using __DATE__ and __TIME__.
# Instead, use the date and time from ${IMPORTDATE_FILE}.
#