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/libdisasm/Makefile.com | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr/src/lib/libdisasm/Makefile.com') diff --git a/usr/src/lib/libdisasm/Makefile.com b/usr/src/lib/libdisasm/Makefile.com index 07280f6d5a..32614b2262 100644 --- a/usr/src/lib/libdisasm/Makefile.com +++ b/usr/src/lib/libdisasm/Makefile.com @@ -22,8 +22,6 @@ # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# # # The build process for libdisasm is sightly different from that used by other @@ -100,6 +98,9 @@ ASFLAGS += -P $(ASFLAGS_$(CURTYPE)) -D_ASM $(LINTLIB) := SRCS = $(COMDIR)/$(LINTSRC) +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-uninitialized + # We want the thread-specific errno in the library, but we don't want it in # the standalone. $(DTS_ERRNO) is designed to add -D_TS_ERRNO to $(CPPFLAGS), # in order to enable this feature. Conveniently, -D_REENTRANT does the same -- cgit v1.2.3