From 7014882c6a3672fd0e5d60200af8643ae53c5928 Mon Sep 17 00:00:00 2001 From: Richard Lowe Date: Sun, 22 Jul 2012 16:03:46 -0400 Subject: 2933 compiler warning gags need better granularity Reviewed by: Eric Schrock Approved by: Garrett D'Amore --- usr/src/cmd/zinject/Makefile.com | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr/src/cmd/zinject') diff --git a/usr/src/cmd/zinject/Makefile.com b/usr/src/cmd/zinject/Makefile.com index c1ac4ac922..3a094ba196 100644 --- a/usr/src/cmd/zinject/Makefile.com +++ b/usr/src/cmd/zinject/Makefile.com @@ -22,8 +22,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# PROG:sh= cd ..; basename `pwd` OBJS= $(PROG).o translate.o @@ -41,6 +39,9 @@ C99LMODE= -Xc99=%all CPPFLAGS += -D_LARGEFILE64_SOURCE=1 -D_REENTRANT $(INCS) +CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += -_gcc=-Wno-switch + .KEEP_STATE: all: $(PROG) -- cgit v1.2.3