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/libiscntp fixes for gcc-4.1



details:   https://anonhg.NetBSD.org/src/rev/0776efc5bab2
branches:  trunk
changeset: 805212:0776efc5bab2
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Dec 23 19:04:37 2014 +0000

description:
fixes for gcc-4.1

diffstat:

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

diffs (18 lines):

diff -r a6dbe9689f6b -r 0776efc5bab2 external/bsd/ntp/lib/libiscntp/Makefile
--- a/external/bsd/ntp/lib/libiscntp/Makefile   Tue Dec 23 19:04:18 2014 +0000
+++ b/external/bsd/ntp/lib/libiscntp/Makefile   Tue Dec 23 19:04:37 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.10 2014/12/19 20:43:20 christos Exp $
+#      $NetBSD: Makefile,v 1.11 2014/12/23 19:04:37 christos Exp $
 
 LIBISPRIVATE=yes
 
@@ -44,6 +44,8 @@
         time.c                     \
         sockaddr.c
 
+.if ${HAVE_GCC} >= 45
 COPTS.log.c+=  -Wno-error=format-nonliteral
+.endif
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index