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 Support LLVM build.



details:   https://anonhg.NetBSD.org/src/rev/5e6ec8fcfcc6
branches:  trunk
changeset: 326250:5e6ec8fcfcc6
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Jan 23 14:06:28 2014 +0000

description:
Support LLVM build.

diffstat:

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

diffs (36 lines):

diff -r bd667025cfe6 -r 5e6ec8fcfcc6 external/bsd/ntp/lib/libiscntp/Makefile
--- a/external/bsd/ntp/lib/libiscntp/Makefile   Thu Jan 23 13:41:58 2014 +0000
+++ b/external/bsd/ntp/lib/libiscntp/Makefile   Thu Jan 23 14:06:28 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.7 2014/01/20 01:37:53 christos Exp $
+#      $NetBSD: Makefile,v 1.8 2014/01/23 14:06:28 joerg Exp $
 
 LIBISPRIVATE=yes
 
@@ -43,7 +43,7 @@
         time.c                     \
         sockaddr.c
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} > 45
+.if !defined(HAVE_GCC) || ${HAVE_GCC} >= 45
 COPTS.log.c+=  -Wno-error=format-nonliteral
 .endif
 
diff -r bd667025cfe6 -r 5e6ec8fcfcc6 external/bsd/ntp/lib/libntp/Makefile
--- a/external/bsd/ntp/lib/libntp/Makefile      Thu Jan 23 13:41:58 2014 +0000
+++ b/external/bsd/ntp/lib/libntp/Makefile      Thu Jan 23 14:06:28 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.9 2014/01/20 01:32:12 christos Exp $
+#      $NetBSD: Makefile,v 1.10 2014/01/23 14:06:28 joerg Exp $
 
 LIBISPRIVATE=yes
 
@@ -77,7 +77,7 @@
 
 CPPFLAGS+= -I${IDIST}/sntp/libopts
 
-.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
+.if !defined(HAVE_GCC) || ${HAVE_GCC} >= 45
 COPTS.msyslog.c+=      -Wno-error=format-nonliteral
 .endif
 



Home | Main Index | Thread Index | Old Index