diff options
| author | Richard Lowe <richlowe@richlowe.net> | 2012-07-22 16:03:46 -0400 |
|---|---|---|
| committer | Richard Lowe <richlowe@richlowe.net> | 2012-09-22 19:47:23 -0400 |
| commit | 7014882c6a3672fd0e5d60200af8643ae53c5928 (patch) | |
| tree | 2c46b144ad1c8047ab5b22280d7f3920fa47c453 /usr/src/cmd/rmmount | |
| parent | 1a5ea5323390ffdf86f171d238b41e381d2292b9 (diff) | |
| download | illumos-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/rmmount')
| -rw-r--r-- | usr/src/cmd/rmmount/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/cmd/rmmount/Makefile b/usr/src/cmd/rmmount/Makefile index a8affe358c..a859d240e7 100644 --- a/usr/src/cmd/rmmount/Makefile +++ b/usr/src/cmd/rmmount/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" -# PROG = rmmount LOCAL_OBJS = rmmount.o @@ -43,6 +41,12 @@ CPPFLAGS += -I$(ROOT)/usr/include/hal CPPFLAGS += -I$(SRC)/cmd/rmvolmgr C99MODE = $(C99_ENABLE) +CERRWARN += -_gcc=-Wno-switch +CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-unused-function +CERRWARN += -_gcc=-Wno-uninitialized + .KEEP_STATE: all: $(PROG) |
