Module Name:    src
Committed By:   christos
Date:           Mon Jan 20 01:32:12 UTC 2014

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

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


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/ntp/lib/libntp/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/libntp/Makefile
diff -u src/external/bsd/ntp/lib/libntp/Makefile:1.8 src/external/bsd/ntp/lib/libntp/Makefile:1.9
--- src/external/bsd/ntp/lib/libntp/Makefile:1.8	Wed Jan 15 09:40:30 2014
+++ src/external/bsd/ntp/lib/libntp/Makefile	Sun Jan 19 20:32:12 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.8 2014/01/15 14:40:30 apb Exp $
+#	$NetBSD: Makefile,v 1.9 2014/01/20 01:32:12 christos Exp $
 
 LIBISPRIVATE=yes
 
@@ -77,7 +77,9 @@ ymd2yd.c
 
 CPPFLAGS+= -I${IDIST}/sntp/libopts
 
+.if defined(HAVE_GCC) && ${HAVE_GCC} >= 45
 COPTS.msyslog.c+=	-Wno-error=format-nonliteral
+.endif
 
 # For MKREPRO, avoid using __DATE__ and __TIME__.
 # Instead, use the date and time from ${IMPORTDATE_FILE}.

Reply via email to