summaryrefslogtreecommitdiff
path: root/usr/src/cmd/loadkeys
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/loadkeys
parent1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff)
downloadillumos-joyent-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/loadkeys')
-rw-r--r--usr/src/cmd/loadkeys/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr/src/cmd/loadkeys/Makefile b/usr/src/cmd/loadkeys/Makefile
index 21f1542c4d..e41a5d823b 100644
--- a/usr/src/cmd/loadkeys/Makefile
+++ b/usr/src/cmd/loadkeys/Makefile
@@ -22,10 +22,6 @@
# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
-# ident "%Z%%M% %I% %E% SMI"
-#
-# cmd/loadkeys/Makefile
-#
PROG= loadkeys dumpkeys
sparc_SUBDIRS= type_4 type_6 type_101
@@ -41,6 +37,11 @@ EXTRA_INSTALL_TARGETS= $($(MACH)_EXTRA_INSTALL_TARGETS)
include ../Makefile.cmd
+CERRWARN += -_gcc=-Wno-switch
+CERRWARN += -_gcc=-Wno-implicit-function-declaration
+CERRWARN += -_gcc=-Wno-unused-label
+CERRWARN += -_gcc=-Wno-uninitialized
+
.KEEP_STATE:
.PARALLEL: $(SUBDIRS)