Module Name:    src
Committed By:   joerg
Date:           Sat Jun  6 13:48:37 UTC 2015

Modified Files:
        src/usr.bin/netstat: Makefile

Log Message:
Format-string related warnings work fine now with both GCC 4.8 and
Clang.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/usr.bin/netstat/Makefile

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

Modified files:

Index: src/usr.bin/netstat/Makefile
diff -u src/usr.bin/netstat/Makefile:1.42 src/usr.bin/netstat/Makefile:1.43
--- src/usr.bin/netstat/Makefile:1.42	Fri May 15 06:58:59 2015
+++ src/usr.bin/netstat/Makefile	Sat Jun  6 13:48:37 2015
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.42 2015/05/15 06:58:59 ozaki-r Exp $
+#	$NetBSD: Makefile,v 1.43 2015/06/06 13:48:37 joerg Exp $
 #	from: @(#)Makefile	8.1 (Berkeley) 6/12/93
 
 .include <bsd.own.mk>
@@ -17,9 +17,6 @@ CPPFLAGS+= -DIPSEC -I${.CURDIR}
 CPPFLAGS+= -I${NETBSDSRCDIR}/sys/dist/pf
 CPPFLAGS+= -I${NETBSDSRCDIR}/sbin/route
 
-CWARNFLAGS.clang+=	-Wno-format
-COPTS.show.c += -Wno-format-nonliteral
-
 .PATH:  ${.CURDIR}/../../lib/libc/gen
 .PATH:  ${.CURDIR}/../../lib/libc/net
 .PATH:  ${.CURDIR}/../../sbin/route

Reply via email to