Module Name: src
Committed By: rin
Date: Tue Nov 21 02:44:13 UTC 2017
Modified Files:
src/external/bsd/nvi/usr.bin/nvi: Makefile
Log Message:
We always need -Wno-format-nonliteral for v_increment.c whether compiler is
gcc or clang.
To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/bsd/nvi/usr.bin/nvi/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/nvi/usr.bin/nvi/Makefile
diff -u src/external/bsd/nvi/usr.bin/nvi/Makefile:1.13 src/external/bsd/nvi/usr.bin/nvi/Makefile:1.14
--- src/external/bsd/nvi/usr.bin/nvi/Makefile:1.13 Tue Nov 21 02:42:08 2017
+++ src/external/bsd/nvi/usr.bin/nvi/Makefile Tue Nov 21 02:44:13 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2017/11/21 02:42:08 rin Exp $
+# $NetBSD: Makefile,v 1.14 2017/11/21 02:44:13 rin Exp $
.include <bsd.own.mk>
@@ -10,11 +10,9 @@ COPTS.exf.c+= -Wno-format-nonliteral
COPTS.msg.c+= -Wno-format-nonliteral
CWARNFLAGS.clang+= -Wno-uninitialized -Wno-format-security
.if ${USE_WIDECHAR} != "yes"
+COPTS.v_increment.c+= -Wno-format-nonliteral
CWARNFLAGS.gcc+= -Wno-unused
CWARNFLAGS.clang+= -Wno-unsequenced
-.ifdef HAVE_GCC
-COPTS.v_increment.c+= -Wno-format-nonliteral
-.endif
.endif
CPPFLAGS+=-I${DIST}/include -I${.CURDIR} -I. -DGTAGS