Module Name:    src
Committed By:   joerg
Date:           Tue Jan  7 02:16:42 UTC 2014

Modified Files:
        src/share/mk: bsd.sys.mk

Log Message:
Non-literal format strings should be an error by default for clang.


To generate a diff of this commit:
cvs rdiff -u -r1.231 -r1.232 src/share/mk/bsd.sys.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.sys.mk
diff -u src/share/mk/bsd.sys.mk:1.231 src/share/mk/bsd.sys.mk:1.232
--- src/share/mk/bsd.sys.mk:1.231	Mon Dec 16 21:34:16 2013
+++ src/share/mk/bsd.sys.mk	Tue Jan  7 02:16:41 2014
@@ -1,4 +1,4 @@
-#	$NetBSD: bsd.sys.mk,v 1.231 2013/12/16 21:34:16 matt Exp $
+#	$NetBSD: bsd.sys.mk,v 1.232 2014/01/07 02:16:41 joerg Exp $
 #
 # Build definitions used for NetBSD source tree builds.
 
@@ -68,7 +68,6 @@ CFLAGS+=	-Wold-style-definition
 CFLAGS+=	-Wconversion
 .endif
 CFLAGS+=	-Wsign-compare -Wformat=2
-CFLAGS+=	${${ACTIVE_CC} == "clang":? -Wno-error=format-nonliteral :}
 CFLAGS+=	${${ACTIVE_CC} == "gcc":? -Wno-format-zero-length :}
 .endif
 .if ${WARNS} > 3 && defined(HAVE_LLVM)

Reply via email to