Module Name:    src
Committed By:   christos
Date:           Mon Jan 20 01:37:53 UTC 2014

Modified Files:
        src/external/bsd/ntp/lib/libiscntp: Makefile

Log Message:
gcc 4.1 does not have -Wno-error


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/external/bsd/ntp/lib/libiscntp/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/libiscntp/Makefile
diff -u src/external/bsd/ntp/lib/libiscntp/Makefile:1.6 src/external/bsd/ntp/lib/libiscntp/Makefile:1.7
--- src/external/bsd/ntp/lib/libiscntp/Makefile:1.6	Thu Jan  2 16:38:38 2014
+++ src/external/bsd/ntp/lib/libiscntp/Makefile	Sun Jan 19 20:37:53 2014
@@ -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 @@ SRCS=   assertions.c               \
         time.c                     \
         sockaddr.c
 
+.if defined(HAVE_GCC) && ${HAVE_GCC} > 45
 COPTS.log.c+=	-Wno-error=format-nonliteral
+.endif
 
 .include <bsd.lib.mk>

Reply via email to