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 gcc 4.1 does not have -Wno-error



details:   https://anonhg.NetBSD.org/src/rev/dbc2872c5744
branches:  trunk
changeset: 792875:dbc2872c5744
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Jan 20 01:37:53 2014 +0000

description:
gcc 4.1 does not have -Wno-error

diffstat:

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

diffs (18 lines):

diff -r ba31d26fe9c9 -r dbc2872c5744 external/bsd/ntp/lib/libiscntp/Makefile
--- a/external/bsd/ntp/lib/libiscntp/Makefile   Mon Jan 20 01:32:12 2014 +0000
+++ b/external/bsd/ntp/lib/libiscntp/Makefile   Mon Jan 20 01:37:53 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.6 2014/01/02 21:38:38 joerg Exp $
+#      $NetBSD: Makefile,v 1.7 2014/01/20 01:37:53 christos Exp $
 
 LIBISPRIVATE=yes
 
@@ -43,6 +43,8 @@
         time.c                     \
         sockaddr.c
 
+.if defined(HAVE_GCC) && ${HAVE_GCC} > 45
 COPTS.log.c+=  -Wno-error=format-nonliteral
+.endif
 
 .include <bsd.lib.mk>



Home | Main Index | Thread Index | Old Index