Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/share/mk Pullup 1.41-1.43 [releng]:
details: https://anonhg.NetBSD.org/src/rev/b1d69be713fe
branches: netbsd-1-5
changeset: 489826:b1d69be713fe
user: tv <tv%NetBSD.org@localhost>
date: Tue Oct 17 21:16:00 2000 +0000
description:
Pullup 1.41-1.43 [releng]:
Support the new format checker in gcc with FORMAT_AUDIT.
diffstat:
share/mk/bsd.sys.mk | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r f4d5087316c8 -r b1d69be713fe share/mk/bsd.sys.mk
--- a/share/mk/bsd.sys.mk Tue Oct 17 20:56:39 2000 +0000
+++ b/share/mk/bsd.sys.mk Tue Oct 17 21:16:00 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.sys.mk,v 1.39 2000/05/09 00:15:55 thorpej Exp $
+# $NetBSD: bsd.sys.mk,v 1.39.4.1 2000/10/17 21:16:00 tv Exp $
#
# Overrides used for NetBSD source tree builds.
@@ -14,6 +14,13 @@
CFLAGS+=-Wswitch -Wshadow
.endif
.endif
+
+.if defined(WFORMAT) && defined(FORMAT_AUDIT)
+.if ${WFORMAT} > 1
+CFLAGS+=-Wnetbsd-format-audit -Wno-format-extra-args
+.endif
+.endif
+
.if !defined(NOGCCERROR)
CFLAGS+= -Werror
.endif
Home |
Main Index |
Thread Index |
Old Index