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/picl | |
| 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/picl')
| -rw-r--r-- | usr/src/cmd/picl/plugins/Makefile.com | 6 | ||||
| -rw-r--r-- | usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/usr/src/cmd/picl/plugins/Makefile.com b/usr/src/cmd/picl/plugins/Makefile.com index a44481ed52..d56f0ec184 100644 --- a/usr/src/cmd/picl/plugins/Makefile.com +++ b/usr/src/cmd/picl/plugins/Makefile.com @@ -29,6 +29,12 @@ MAPFILES = CPPFLAGS += -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree CPPFLAGS += -I$(SRC)/cmd/picl/plugins/inc CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-char-subscripts +CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += -_gcc=-Wno-switch +CERRWARN += -_gcc=-Wno-unused-function +CERRWARN += -_gcc=-Wno-unused-variable # Some picl plugins have dependencies to which they make no reference. These # dependencies are expected to be loaded so that their .init's fire and thus diff --git a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com index bff1d92236..a797ca6ea4 100644 --- a/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com +++ b/usr/src/cmd/picl/plugins/lib/picld_pluginutil/Makefile.com @@ -22,8 +22,6 @@ # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# LIBRARY= libpicld_pluginutil.a VERS= .1 @@ -54,6 +52,7 @@ POFILE= picld_pluginutil.po CPPFLAGS += -I.. -I$(SRC)/lib/libpicl -I$(SRC)/lib/libpicltree CFLAGS += $(CCVERBOSE) +CERRWARN += -_gcc=-Wno-uninitialized CPPFLAGS += -D_REENTRANT DYNFLAGS += $(ZNOLAZYLOAD) LDLIBS += -L$(SRC)/lib/libpicltree/$(MACH) |
