Module Name: src
Committed By: christos
Date: Mon Jan 20 01:43:34 UTC 2014
Modified Files:
src/external/bsd/ntp/lib/libopts: Makefile
Log Message:
ignore format errors for old gcc
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/bsd/ntp/lib/libopts/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/libopts/Makefile
diff -u src/external/bsd/ntp/lib/libopts/Makefile:1.8 src/external/bsd/ntp/lib/libopts/Makefile:1.9
--- src/external/bsd/ntp/lib/libopts/Makefile:1.8 Thu Jan 2 16:38:38 2014
+++ src/external/bsd/ntp/lib/libopts/Makefile Sun Jan 19 20:43:34 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/01/02 21:38:38 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2014/01/20 01:43:34 christos Exp $
LIBISPRIVATE=yes
@@ -19,6 +19,8 @@ SRCS=libopts.c
COPTS.libopts.c += -DPOSIX_SHELL="\"/bin/sh\"" -Wno-format-nonliteral
.if ${HAVE_GCC:U} >= 45
COPTS.libopts.c+= ${${ACTIVE_CC} == "gcc":? -Wno-format-contains-nul :}
+.else
+COPTS.libopts.c+= -Wno-format
.endif
.include <bsd.lib.mk>