summaryrefslogtreecommitdiff
path: root/usr/src/lib/libprtdiag/Makefile.com
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/lib/libprtdiag/Makefile.com')
-rw-r--r--usr/src/lib/libprtdiag/Makefile.com7
1 files changed, 5 insertions, 2 deletions
diff --git a/usr/src/lib/libprtdiag/Makefile.com b/usr/src/lib/libprtdiag/Makefile.com
index 0375fd3fe9..b0fb2b65bb 100644
--- a/usr/src/lib/libprtdiag/Makefile.com
+++ b/usr/src/lib/libprtdiag/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"
-#
#
# Create default so empty rules don't
@@ -46,6 +44,11 @@ IFLAGS += -I $(UTSBASE)/sun4u/sunfire
IFLAGS += -I $(UTSBASE)/sun4u/serengeti
CPPFLAGS = $(IFLAGS) $(CPPFLAGS.master)
CFLAGS += $(CCVERBOSE)
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-uninitialized
+CERRWARN += -_gcc=-Wno-unused-variable
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_gcc=-Wno-unused-label
LDLIBS += -lc -lkstat
DYNFLAGS += -Wl,-f/usr/platform/\$$PLATFORM/lib/$(DYNLIBPSR)