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/lib/libresolv/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'usr/src/lib/libresolv') diff --git a/usr/src/lib/libresolv/Makefile b/usr/src/lib/libresolv/Makefile index b2637e6f89..7351ef9048 100644 --- a/usr/src/lib/libresolv/Makefile +++ b/usr/src/lib/libresolv/Makefile @@ -22,8 +22,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# LIBRARY= libresolv.a VERS= .1 @@ -57,6 +55,13 @@ C99MODE= $(C99_DISABLE) CPPFLAGS = -I. -I../common/inc $(CPPFLAGS.master) -DDEBUG -DSYSV -D_REENTRANT LDLIBS += -lsocket -lnsl -lc +CERRWARN += -_gcc=-Wno-implicit-function-declaration +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += -_gcc=-Wno-implicit-int +CERRWARN += -_gcc=-Wno-extra + ROOTDYNLIBS= $(DYNLIB:%=$(ROOTLIBDIR)/%) .KEEP_STATE: -- cgit v1.2.3