summaryrefslogtreecommitdiff
path: root/usr/src/cmd/dc
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2012-07-22 16:03:46 -0400
committerRichard Lowe <richlowe@richlowe.net>2012-09-22 19:47:23 -0400
commit7014882c6a3672fd0e5d60200af8643ae53c5928 (patch)
tree2c46b144ad1c8047ab5b22280d7f3920fa47c453 /usr/src/cmd/dc
parent1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff)
downloadillumos-gate-7014882c6a3672fd0e5d60200af8643ae53c5928.tar.gz
2933 compiler warning gags need better granularity
Reviewed by: Eric Schrock <eric.schrock@delphix.com> Approved by: Garrett D'Amore <garrett@damore.org>
Diffstat (limited to 'usr/src/cmd/dc')
-rw-r--r--usr/src/cmd/dc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/src/cmd/dc/Makefile b/usr/src/cmd/dc/Makefile
index 942c4fd993..50f4a4e60f 100644
--- a/usr/src/cmd/dc/Makefile
+++ b/usr/src/cmd/dc/Makefile
@@ -19,8 +19,6 @@
# CDDL HEADER END
#
#
-# ident "%Z%%M% %I% %E% SMI"
-#
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
@@ -34,6 +32,10 @@ XPG6EXOBJS= exobjs.xpg6/dc.o
include ../Makefile.cmd
LDFLAGS += $(MAPFILE.NGB:%=-M%)
+CERRWARN += -_gcc=-Wno-implicit-function-declaration
+CERRWARN += -_gcc=-Wno-unused-value
+CERRWARN += -_gcc=-Wno-parentheses
+CERRWARN += -_gcc=-Wno-uninitialized
.KEEP_STATE: