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/lib/efcode | |
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/lib/efcode')
-rw-r--r-- | usr/src/lib/efcode/Makefile.efcode | 9 | ||||
-rw-r--r-- | usr/src/lib/efcode/efdaemon/Makefile | 2 | ||||
-rw-r--r-- | usr/src/lib/efcode/interpreter/Makefile | 4 |
3 files changed, 11 insertions, 4 deletions
diff --git a/usr/src/lib/efcode/Makefile.efcode b/usr/src/lib/efcode/Makefile.efcode index b8c1e73b3d..b88f04d40a 100644 --- a/usr/src/lib/efcode/Makefile.efcode +++ b/usr/src/lib/efcode/Makefile.efcode @@ -22,8 +22,6 @@ # Copyright 2006 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# # # Common build rules for efcode shared objects. @@ -48,6 +46,13 @@ CPPFLAGS += -DDEBUG -DFCODE_INTERNAL CPPFLAGS += -I $(SRC)/lib/efcode/include -I $(ROOT)/usr/platform/sun4u/include DYNFLAGS += -R\$$ORIGIN +CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-unused-function +CERRWARN += -_gcc=-Wno-unused-value +CERRWARN += -_gcc=-Wno-parentheses +CERRWARN += -_gcc=-Wno-uninitialized +CERRWARN += -_gcc=-Wno-type-limits + EFCODE64DIR = /usr/lib/efcode/$(MACH64) ROOTLIBDIR = $(ROOT)/usr/lib/efcode ROOTLIBDIR64 = $(ROOT)/usr/lib/efcode/$(MACH64) diff --git a/usr/src/lib/efcode/efdaemon/Makefile b/usr/src/lib/efcode/efdaemon/Makefile index e4e90c5633..c6343f8413 100644 --- a/usr/src/lib/efcode/efdaemon/Makefile +++ b/usr/src/lib/efcode/efdaemon/Makefile @@ -33,6 +33,8 @@ EFCODEDIR64 = $(EFCODEDIR)/$(MACH64) CPPFLAGS += -DDEBUG -DFCODE_INTERNAL CPPFLAGS += -I ../include -I $(ROOT)/usr/platform/sun4u/include +CERRWARN += -_gcc=-Wno-unused-variable + PROG = efdaemon EFTARGETS += $(EFCODEDIR64)/$(PROG) EFTARGETS += $(EFCODEDIR)/efcode.sh diff --git a/usr/src/lib/efcode/interpreter/Makefile b/usr/src/lib/efcode/interpreter/Makefile index b8c56e1542..82c44bbdc2 100644 --- a/usr/src/lib/efcode/interpreter/Makefile +++ b/usr/src/lib/efcode/interpreter/Makefile @@ -23,8 +23,6 @@ # Copyright 2005 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# include $(SRC)/cmd/Makefile.cmd include $(SRC)/cmd/Makefile.cmd.64 @@ -36,6 +34,8 @@ ROOTCMDDIR = $(EFCODEDIR64) CPPFLAGS += -DDEBUG -DFCODE_INTERNAL CPPFLAGS += -I ../include -I $(ROOT)/usr/platform/sun4u/include +CERRWARN += -_gcc=-Wno-unused-variable +CERRWARN += -_gcc=-Wno-uninitialized LDFLAGS += -R/usr/lib/efcode/$(MACH64) -M mapfile64 LIBS = fcode.so fcdriver.so |