Source-Changes-HG archive

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

[src/trunk]: src/external/bsd/ntp/lib/libntp Fix the libntp build with Clang/...



details:   https://anonhg.NetBSD.org/src/rev/64a1da7ca05b
branches:  trunk
changeset: 933721:64a1da7ca05b
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri May 29 10:47:37 2020 +0000

description:
Fix the libntp build with Clang/LLVM

Set -Wno-error=implicit-int-float-conversion

diffstat:

 external/bsd/ntp/lib/libntp/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 8249fe5b1d16 -r 64a1da7ca05b external/bsd/ntp/lib/libntp/Makefile
--- a/external/bsd/ntp/lib/libntp/Makefile      Fri May 29 10:25:06 2020 +0000
+++ b/external/bsd/ntp/lib/libntp/Makefile      Fri May 29 10:47:37 2020 +0000
@@ -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 @@
 
 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}.
 #



Home | Main Index | Thread Index | Old Index